Skip to content

Commit

Permalink
rename for webpack special name: fix and close #6788
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed Oct 9, 2017
1 parent 9dac2af commit 0af210f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/component/toolbox/ToolboxView.js
Expand Up @@ -30,15 +30,15 @@ define(function (require) {
});

(new DataDiffer(this._featureNames || [], featureNames))
.add(process)
.update(process)
.remove(zrUtil.curry(process, null))
.add(processFeature)
.update(processFeature)
.remove(zrUtil.curry(processFeature, null))
.execute();

// Keep for diff.
this._featureNames = featureNames;

function process(newIndex, oldIndex) {
function processFeature(newIndex, oldIndex) {
var featureName = featureNames[newIndex];
var oldName = featureNames[oldIndex];
var featureOpt = featureOpts[featureName];
Expand Down

0 comments on commit 0af210f

Please sign in to comment.