Skip to content

flbeta_function_require

Wesley de Groot edited this page Oct 26, 2015 · 33 revisions
                     _          
                    (_)         
            	     _    _____ 
        	        | |  / ____|
    	            | |  | (___ 
	            _   | |  \___  \
 ______    _   | |__| |  ____) |
|______|  (_)   \____/  |______/
                     v0.0.7 Beta

Function require

_('.wrapper').require(jsArray,Callback,local)


Load/Require a javascript file
if a file is starting with _ then it is a _.js module
DO not use _ as first character on own modules! (unless you do a pull request.)
*
@param object [object] Wrapper
@param string|array jsArray the array of files to load (or string)
@param function Callback the Callback function
@param bool [local] if set to true then load the local copy.
@return null
@example _.require(['a','r','ra','y'], function(){doSomeThing();})
*/

Parameter list

Type @var Description Required

Example:


Returns:




[Back to function list](https://github.com/wesdegroot/_.js/wiki/Function%20List%20(Beta))
Clone this wiki locally