footer.js 425 B

12345678910111213
  1. // Export the THREE object for **Node.js**, with
  2. // backwards-compatibility for the old `require()` API. If we're in
  3. // the browser, add `_` as a global object via a string identifier,
  4. // for Closure Compiler "advanced" mode.
  5. if (typeof exports !== 'undefined') {
  6. if (typeof module !== 'undefined' && module.exports) {
  7. exports = module.exports = THREE;
  8. }
  9. exports.THREE = THREE;
  10. } else {
  11. this['THREE'] = THREE;
  12. }