diff --git a/src/extras/FontUtils.js b/src/extras/FontUtils.js index 896d17e79f5fe7419bfa6f4ac8fb962a9a92d714..a0e2c98b9a78490fe864781029c507339750d2e1 100644 --- a/src/extras/FontUtils.js +++ b/src/extras/FontUtils.js @@ -466,8 +466,8 @@ 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' ){ - self._typeface_js = typeface_js + self._typeface_js = typeface_js; } -THREE.typeface_js = typeface_js +THREE.typeface_js = typeface_js;