Browse Source

Generated code clean up.

Mr.doob 11 years ago
parent
commit
162f35710c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/build/build.py

+ 1 - 1
utils/build/build.py

@@ -46,7 +46,7 @@ def main(argv=None):
 	sources = []
 
 	if args.amd:
-		tmp.write('( function ( root, factory ) {\n\n\tif ( typeof define === \'function\' && define.amd ) {\n\n\t\tdefine( [\'exports\'], factory );\n\n\t} else if (typeof exports === \'object\') {\n\n\t\tfactory(exports);\n\n\t} else {\n\n\t\tfactory(root);\n\n\t}\n\n}( this, function (exports) {\n\n')
+		tmp.write('( function ( root, factory ) {\n\n\tif ( typeof define === \'function\' && define.amd ) {\n\n\t\tdefine( [ \'exports\' ], factory );\n\n\t} else if ( typeof exports === \'object\' ) {\n\n\t\tfactory( exports );\n\n\t} else {\n\n\t\tfactory( root );\n\n\t}\n\n}( this, function ( exports ) {\n\n')
 
 	for include in args.include:
 		with open('includes/' + include + '.json','r') as f: