-
Notifications
You must be signed in to change notification settings - Fork 3
Changed_in_006
Wesley De Groot edited this page Oct 24, 2015
·
15 revisions
_ _____
| | / ____|
| | | (___
_ | | \___ \
______ _ | |__| | ____) |
|______| (_) \____/ |______/
Yes we're global since v0.0.6! Issue #12
- Tries now to catch up module if running local, and a local copy does not exists.
-
_().require('_myLocalCopy', function(){...}, true);
to load a local copy of a module.
Get type of object
is it a function
Trow a error
Is it a array? _().isArray(['my', 'array']);
DOES NOT WORK....
On Event (example html
).
_('.wrapper').html('x').on('click', function(){alert('clicked');});
_('.wrapper').html('x').on('mousemove', function(){console.log('moved');});
_('.wrapper').html('x').on('mousemove', true); // Remove.
// but the onClick is still useable!
OR
_('.wrapper').on('click', function(){alert('clicked');});
_('.wrapper').on('mousemove', function(){console.log('moved');});
_('.wrapper').on('mousemove', true); // Remove.
// but the onClick is still useable!
set is removed.
New usage: _._('value');
© Wesley de Groot • CC-BY 4.0 • WDGWV