Browse Source

Removed String.trim() shim.
We should start to move to IE9+…

Mr.doob 11 years ago
parent
commit
211b7bc261
1 changed files with 0 additions and 6 deletions
  1. 0 6
      src/Three.js

+ 0 - 6
src/Three.js

@@ -16,12 +16,6 @@ self.console = self.console || {
 
 };
 
-String.prototype.trim = String.prototype.trim || function () {
-
-	return this.replace( /^\s+|\s+$/g, '' );
-
-};
-
 // based on https://github.com/documentcloud/underscore/blob/bf657be243a075b5e72acc8a83e6f12a564d8f55/underscore.js#L767
 THREE.extend = function ( obj, source ) {