提交 5b233e98 编写于 作者: M Mr.doob

Merge branch 'patch-8' of https://github.com/gero3/three.js into dev

......@@ -68,7 +68,7 @@ function main() {
var result = uglify.minify( sources, { outSourceMap: sourcemap } );
fs.writeFileSync( output, result.code + sourcemapping, 'utf8' );
fs.writeFileSync( output, 'three.js - http://github.com/mrdoob/three.js\n// Released under the MIT license.\n// https://github.com/mrdoob/three.js/blob/master/LICENSE\n' + result.code + sourcemapping, 'utf8' );
if ( args.sourcemaps ) {
......
......@@ -79,7 +79,7 @@ def main(argv=None):
# header
with open(output,'r') as f: text = f.read()
with open(output,'w') as f: f.write('// three.js - http://github.com/mrdoob/three.js\n' + text + sourcemapping)
with open(output,'w') as f: f.write('// three.js - http://github.com/mrdoob/three.js\n// Released under the MIT license.\n// https://github.com/mrdoob/three.js/blob/master/LICENSE\n' + text + sourcemapping)
os.close(fd)
os.remove(path)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册