-
-
Notifications
You must be signed in to change notification settings - Fork 3
flbeta_function_require
Wesley de Groot edited this page Nov 5, 2017
·
33 revisions
_
(_)
_ _____
| | / ____|
| | | (___
_ | | \___ \
______ _ | |__| | ____) |
|______| (_) \____/ |______/
v0.1.0 Beta
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.)
This function is only for websites
Type | @var | Description | Required |
object | [object] | Wrapper | Optional |
string|array | jsArray | the array of files to load (or string) | Required |
function | Callback | the Callback function | Required |
bool | [local] | if set to true then load the local copy. | Optional |
_.require(['a', 'r', 'ra', 'y'], function () { doSomeThing(); })
null
[Back to function list](https://github.com/wdg/_.js/wiki/Function%20List%20(Beta))
© Wesley de Groot • CC-BY 4.0 • WDGWV