fabric.js/test/fixtures/test_script.js
Drew Lustro 1f993e92b8 requirejs support added via "requirejs" build.sh option
$ node build modules=ALL requirejs
- dist/all* is clean of changes
- fixed bug in build.sh that would prevent dist/all.require.js from compiling properly
- Updated test.js to include test_script.js fixtures
- NOTE: Qunit tests largely incompatible with requirejs version... need more
insight on how Qunit works to get fabric in the namespace since it is
no longer a global when built as an AMD module.
2013-09-03 14:15:12 -04:00

7 lines
No EOL
120 B
JavaScript

(function(){
// set global variable
this.foo = 'bar';
this.window = undefined;
this.document = undefined;
})();