source: other-projects/playing-in-the-street/summer-2013/trunk/Playing-in-the-Street-WPF/Content/Web/mrdoob-three.js-4862f5f/utils/npm/footer.js@ 28897

Last change on this file since 28897 was 28897, checked in by davidb, 10 years ago

GUI front-end to server base plus web page content

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