You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
482 B
GLSL
13 lines
482 B
GLSL
![]()
11 years ago
|
(function (root, factory) {
|
||
|
if (typeof define === 'function' && define.amd) {
|
||
|
//Allow using this built library as an AMD module
|
||
|
//in another project. That other project will only
|
||
|
//see this AMD call, not the internal modules in
|
||
|
//the closure below.
|
||
|
define([], factory);
|
||
|
} else {
|
||
|
//Browser globals case. Just assign the
|
||
|
//result to a property on the global.
|
||
|
root.Locator = factory();
|
||
|
}
|
||
|
}(this, function () {
|