소스 검색

Replace != with !==

Arthur Silber 10 년 전
부모
커밋
6f78aa349e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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