Skip to content

Changed_in_006

Wesley De Groot edited this page Oct 24, 2015 · 15 revisions
            	     _    _____ 
        	        | |  / ____|
    	            | |  | (___  
	            _   | |  \___  \ 
 ______    _   | |__| |  ____) |
|______|  (_)   \____/  |______/ 

Changed in v0.0.6

Fixed

_.(...)

Yes we're global since v0.0.6! Issue #12


Changed

_().require(...)
  • 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.

New

_().type(...)

Get type of object


_().isFunction(...)

is it a function


_().error(...)

Trow a error


_().isArray(...)

Is it a array? _().isArray(['my', 'array']);


_().extend(...)

DOES NOT WORK....


_.on(...)

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!

Removed

_._(configKey, set);

set is removed.

New usage: _._('value');

Clone this wiki locally