changeset 84 | d7c5bffdd2d8 |
83:9be99c2fb279 | 84:d7c5bffdd2d8 |
---|---|
1 /** |
|
2 * js/app.js |
|
3 * |
|
4 * This is a sample CommonJS module. |
|
5 * Take a look at http://browserify.org/ for more info |
|
6 */ |
|
7 |
|
8 'use strict'; |
|
9 |
|
10 function App() { |
|
11 console.log('app initialized'); |
|
12 } |
|
13 |
|
14 module.exports = App; |
|
15 |
|
16 App.prototype.beep = function () { |
|
17 console.log('boop'); |
|
18 }; |