easy-file-system 2.1.94 → 2.1.96
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.
- package/example.js +25 -53
- package/lib/explorer.js +17 -24
- package/lib/item/entry/drag.js +7 -20
- package/lib/span/name.js +3 -11
- package/package.json +1 -1
- package/src/explorer.js +18 -27
- package/src/item/entry/drag.js +9 -23
- package/src/span/name.js +2 -11
package/src/span/name.js
CHANGED
|
@@ -29,13 +29,6 @@ class NameSpan extends Element {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
isEditing() {
|
|
33
|
-
const contentEditable = this.hasAttribute(CONTENT_EDITABLE),
|
|
34
|
-
editing = contentEditable; ///
|
|
35
|
-
|
|
36
|
-
return editing;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
32
|
getName() {
|
|
40
33
|
const html = this.html(),
|
|
41
34
|
name = html; ///
|
|
@@ -91,8 +84,7 @@ class NameSpan extends Element {
|
|
|
91
84
|
onNameSpanChange = this.onChange.bind(this), ///
|
|
92
85
|
onNameSpanCancel = this.onCancel.bind(this), ///
|
|
93
86
|
offNameSpanChange = this.offChange.bind(this), ///
|
|
94
|
-
offNameSpanCancel = this.offCancel.bind(this)
|
|
95
|
-
isNameSpanEditing = this.isEditing.bind(this); ///
|
|
87
|
+
offNameSpanCancel = this.offCancel.bind(this); ///
|
|
96
88
|
|
|
97
89
|
return ({
|
|
98
90
|
editNameSpan,
|
|
@@ -102,8 +94,7 @@ class NameSpan extends Element {
|
|
|
102
94
|
onNameSpanChange,
|
|
103
95
|
onNameSpanCancel,
|
|
104
96
|
offNameSpanChange,
|
|
105
|
-
offNameSpanCancel
|
|
106
|
-
isNameSpanEditing
|
|
97
|
+
offNameSpanCancel
|
|
107
98
|
});
|
|
108
99
|
}
|
|
109
100
|
|