commit
fe4e83d6d8
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ The common pattern for this is using the [browserify](http://browserify.org/) li
|
|||
module.exports = 42
|
||||
```
|
||||
|
||||
**2**. retreive it in your main module file (`main.js`):
|
||||
**2**. retrieve it in your main module file (`main.js`):
|
||||
|
||||
```javascript
|
||||
var num = require('./number.js')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue