remove track

This commit is contained in:
thinkinggis 2019-03-01 12:03:04 +08:00
parent 92f266f7ed
commit 93def0ccd1
4 changed files with 28 additions and 28 deletions

View File

@ -53,7 +53,8 @@
"string-replace-loader": "~1.3.0",
"torchjs": "~2.1.0",
"uglify-js": "~3.1.10",
"webpack": "~3.10.0",
"webpack": "~4.29.6",
"webpack-cli": "^3.2.3",
"worker-loader": "^2.0.0"
},
"scripts": {

View File

@ -2,7 +2,7 @@ import Engine from './engine';
import { LAYER_MAP } from '../layer';
import Base from './base';
import LoadImage from './image';
import WorkerPool from './worker';
// import WorkerPool from './worker';
// import { MapProvider } from '../map/AMap';
import { getMap } from '../map/index';
import Global from '../global';
@ -22,7 +22,7 @@ export default class Scene extends Base {
_initEngine(mapContainer) {
this._engine = new Engine(mapContainer, this);
this._engine.run();
this.workerPool = new WorkerPool();
// this.workerPool = new WorkerPool();
compileBuiltinModules();
}
// 为pickup场景添加 object 对象

View File

@ -7,7 +7,6 @@ const version = Global.version;
const track = function(enable) {
Global.trackable = enable;
};
import './track';
export {
version,
Scene,