Browse Source

Replace != with !==

Arthur Silber 10 years ago
parent
commit
6f78aa349e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/extras/FontUtils.js

+ 1 - 1
src/extras/FontUtils.js

@@ -465,7 +465,7 @@ THREE.FontUtils.generateShapes = function ( text, parameters ) {
 
 // To use the typeface.js face files, hook up the API
 var typeface_js = { faces: THREE.FontUtils.faces, loadFace: THREE.FontUtils.loadFace };
-if ( typeof self != 'undefined' ){
+if ( typeof self !== 'undefined' ){
 	self._typeface_js = typeface_js
 }
 THREE.typeface_js = typeface_js