easy-file-system 1.5.39 → 1.5.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -114,7 +114,7 @@ function callSelectHandlers(path, selected) {
114
114
  });
115
115
  }
116
116
 
117
- function callMoveHandlersAsync(pathMaps, done) {
117
+ function callMoveHandlersAsync(pathMaps, explorer, done) {
118
118
  const eventType = MOVE_EVENT_TYPE,
119
119
  eventListeners = this.findEventListeners(eventType);
120
120
 
@@ -123,11 +123,11 @@ function callMoveHandlersAsync(pathMaps, done) {
123
123
  moveHandler = handler, ///
124
124
  done = next; ///
125
125
 
126
- moveHandler.call(element, pathMaps, done);
126
+ moveHandler.call(element, pathMaps, explorer, done);
127
127
  }, done);
128
128
  }
129
129
 
130
- function callRemoveHandlersAsync(pathMaps, done) {
130
+ function callRemoveHandlersAsync(pathMaps, explorer, done) {
131
131
  const eventType = REMOVE_EVENT_TYPE,
132
132
  eventListeners = this.findEventListeners(eventType);
133
133
 
@@ -136,11 +136,11 @@ function callRemoveHandlersAsync(pathMaps, done) {
136
136
  removeHandler = handler, ///
137
137
  done = next; ///
138
138
 
139
- removeHandler.call(element, pathMaps, done);
139
+ removeHandler.call(element, pathMaps, explorer, done);
140
140
  }, done);
141
141
  }
142
142
 
143
- function callRenameHandlersAsync(pathMaps, done) {
143
+ function callRenameHandlersAsync(pathMaps, explorer, done) {
144
144
  const eventType = RENAME_EVENT_TYPE,
145
145
  eventListeners = this.findEventListeners(eventType);
146
146
 
@@ -149,11 +149,11 @@ function callRenameHandlersAsync(pathMaps, done) {
149
149
  renameHandler = handler, ///
150
150
  done = next; ///
151
151
 
152
- renameHandler.call(element, pathMaps, done);
152
+ renameHandler.call(element, pathMaps, explorer, done);
153
153
  }, done);
154
154
  }
155
155
 
156
- function callCreateHandlersAsync(pathMaps, done) {
156
+ function callCreateHandlersAsync(pathMaps, explorer, done) {
157
157
  const eventType = CREATE_EVENT_TYPE,
158
158
  eventListeners = this.findEventListeners(eventType);
159
159
 
@@ -162,7 +162,7 @@ function callCreateHandlersAsync(pathMaps, done) {
162
162
  createHandler = handler, ///
163
163
  done = next; ///
164
164
 
165
- createHandler.call(element, pathMaps, done);
165
+ createHandler.call(element, pathMaps, explorer, done);
166
166
  }, done);
167
167
  }
168
168
 
package/src/rubbishBin.js CHANGED
@@ -173,7 +173,7 @@ class RubbishBin extends Element {
173
173
  }
174
174
 
175
175
  removeDragEntryItems(pathMaps, explorer, done) {
176
- this.callRemoveHandlersAsync(pathMaps, () => {
176
+ this.callRemoveHandlersAsync(pathMaps, explorer, () => {
177
177
  pathMaps.forEach((pathMap) => this.removeDragEntryItem(pathMap, explorer));
178
178
 
179
179
  pathMaps.forEach((pathMap) => this.addDragEntryItem(pathMap, explorer));