瀏覽代碼

Simplified header.

Mr.doob 11 年之前
父節點
當前提交
720e593cf1
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      utils/build/build.js
  2. 1 1
      utils/build/build.py

+ 1 - 1
utils/build/build.js

@@ -72,7 +72,7 @@ function main() {
 
 
 		var result = uglify.minify( sources, { outSourceMap: sourcemap } );
 		var result = uglify.minify( sources, { outSourceMap: sourcemap } );
 		
 		
-		fs.writeFileSync( output, '// three.js / threejs.org/license\n' + result.code + sourcemapping, 'utf8' );
+		fs.writeFileSync( output, '// threejs.org/license\n' + result.code + sourcemapping, 'utf8' );
 
 
 		if ( args.sourcemaps ) {
 		if ( args.sourcemaps ) {
 
 

+ 1 - 1
utils/build/build.py

@@ -91,7 +91,7 @@ def main(argv=None):
 
 
 		if os.path.exists(output):
 		if os.path.exists(output):
 			with open(output,'r') as f: text = f.read()
 			with open(output,'r') as f: text = f.read()
-			with open(output,'w') as f: f.write('// three.js / threejs.org/license\n' + text + sourcemapping)
+			with open(output,'w') as f: f.write('// threejs.org/license\n' + text + sourcemapping)
 		else:
 		else:
 			print("Minification with Closure compiler failed. Check your Java runtime version.")
 			print("Minification with Closure compiler failed. Check your Java runtime version.")
 			with open(output,'w') as f: f.write(backup)
 			with open(output,'w') as f: f.write(backup)