forked from zauner/vvvv.js
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy paththirdparty.js
27 lines (21 loc) · 950 Bytes
/
thirdparty.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// VVVV.js -- Visual Web Client Programming
// (c) 2011 Matthias Zauner
// VVVV.js is freely distributable under the MIT license.
// Additional authors of sub components are mentioned at the specific code locations.
if (typeof define !== 'function') { var define = require(VVVVContext.Root+'/node_modules/amdefine')(module, VVVVContext.getRelativeRequire(require)) }
define(function(require,exports) {
/** Define 3rd party libraries, that should be loaded on demand here.
* Use
* VVVV.Nodes.YourNode.requirements = ["exampleLib"]
* after your nodes's code to define, that the library is required.
*/
VVVVContext.ThirdPartyLibs = {
//"exampleLib": "lib/examplelib.js"
"beatdetektor": "lib/beatdetektor.js",
"GLUtil": "lib/gl-util.js",
"meshUtils": "lib/mesh-utils.js",
"floatExtension": "lib/webgl-texture-float-extension-shims/webgl-texture-float-extension-shims.js"
}
// ... and just leave this
VVVVContext.LoadedLibs = {};
});