Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzhenn committed Jan 25, 2018
1 parent 223f8cb commit a6641ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ ClusterLayer.registerRenderer('canvas', class extends maptalks.renderer.VectorLa
}

_drawLayer(clusters) {
const parentClusters = this._currentClusters || clusters;
const parentClusters = this._currentClusters || clusters;
this._currentClusters = clusters;
delete this._clusterMaskExtent;
const layer = this.layer;
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"test": "gulp test",
"pretest": "npm run lint",
"prepublish": "npm run lint && gulp minify",
"dev": "gulp watch"
"dev": "gulp watch",
"build" : "gulp minify"
},
"devDependencies": {
"babel-eslint": "^7.1.1",
Expand Down

0 comments on commit a6641ee

Please sign in to comment.