-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Jeffrey Kwan edited this page Dec 18, 2015
·
10 revisions
- Add parameters to function definitions and calls
- Add code to the body of a function
- Add key/value to an object
var insert = require('js-insert');
insert
.code('code')
.at('selector')
.into('filename')
Now we have to identify where we want to insert code
Append something to an array variable referenced by 'name'
Add a parameter to a function call or the body of a function declaration
{
obj: 'object' | 'obj.func', | { key: '' }
func: ''
}