提交 1ffb13bb 编写于 作者: M Mr.doob

More clean up to Three.js

上级 eced6544
/**
* @author mrdoob / http://mrdoob.com/
* @modified by Larry Battle / http://bateru.com/news
* @author Larry Battle / http://bateru.com/news
*/
var THREE = THREE || { REVISION: '52dev' };
......@@ -15,13 +15,8 @@ self.console = self.console || {
};
if ( self.Int32Array === undefined ) {
self.Int32Array = Array;
self.Float32Array = Array;
}
self.Int32Array = self.Int32Array || Array;
self.Float32Array = self.Float32Array || Array;
// Shims for "startsWith", "endsWith", and "trim" for browsers where this is not yet implemented
// not sure we should have this, or at least not have it here
......@@ -81,8 +76,8 @@ String.prototype.trim = String.prototype.trim || function () {
};
}
window.cancelAnimationFrame = window.cancelAnimationFrame || function ( id ) { window.clearTimeout( id ); };
window.cancelAnimationFrame = window.cancelAnimationFrame || function ( id ) { window.clearTimeout( id ) };
}() );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册