fix package

This commit is contained in:
thinkinggis 2019-03-01 15:00:48 +08:00
parent 16b5fd3a11
commit c2bba65c84
3 changed files with 3 additions and 9 deletions

View File

@ -89,7 +89,8 @@
}, },
"pre-commit": { "pre-commit": {
"run": [ "run": [
"lint" "lint",
"test"
], ],
"silent": false "silent": false
}, },

View File

@ -4,14 +4,8 @@ import Scene from './core/scene';
import Global from './global'; import Global from './global';
const version = Global.version; const version = Global.version;
const track = function(enable) {
Global.trackable = enable;
};
import './track';
export { export {
version, version,
Scene, Scene
track
}; };

View File

@ -21,7 +21,6 @@ export default function DrawAnimate(attributes, style) {
ANIMATE: true ANIMATE: true
}); });
const fillPolygonMesh = new THREE.Mesh(geometry, material); const fillPolygonMesh = new THREE.Mesh(geometry, material);
this.fillPolygonMesh = fillPolygonMesh;
return fillPolygonMesh; return fillPolygonMesh;
} }