fix package

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

View File

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

View File

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

View File

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