native-document 1.0.253 → 1.0.254
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "native-document",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.254",
|
|
4
4
|
"description": "A reactive JavaScript framework that preserves native DOM simplicity without sacrificing modern features",
|
|
5
5
|
"author": "AfroCodeur <https://github.com/afrocodeur>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -525,23 +525,19 @@ ObservableArray.prototype.isNotEmpty = function () {
|
|
|
525
525
|
};
|
|
526
526
|
|
|
527
527
|
ObservableArray.prototype.fnPush = function (item) {
|
|
528
|
-
|
|
529
|
-
return () => self.push(item);
|
|
528
|
+
return () => this.push(item);
|
|
530
529
|
};
|
|
531
530
|
|
|
532
531
|
ObservableArray.prototype.fnRemove = function (item) {
|
|
533
|
-
|
|
534
|
-
return () => self.removeItem(item);
|
|
532
|
+
return () => this.removeItem(item);
|
|
535
533
|
};
|
|
536
534
|
|
|
537
535
|
ObservableArray.prototype.fnRemoveAt = function (index) {
|
|
538
|
-
|
|
539
|
-
return () => self.remove(index);
|
|
536
|
+
return () => this.remove(index);
|
|
540
537
|
};
|
|
541
538
|
|
|
542
539
|
ObservableArray.prototype.fnClear = function () {
|
|
543
|
-
|
|
544
|
-
return () => self.clear();
|
|
540
|
+
return () => this.clear();
|
|
545
541
|
};
|
|
546
542
|
|
|
547
543
|
ObservableArray.prototype.rawValue = function () {
|
|
@@ -734,26 +734,21 @@ ObservableItem.prototype.watch = function(fn, autoCall = true) {
|
|
|
734
734
|
|
|
735
735
|
|
|
736
736
|
ObservableItem.prototype.fnSet = function(value) {
|
|
737
|
-
|
|
738
|
-
return () => self.set(value);
|
|
737
|
+
return () => this.set(value);
|
|
739
738
|
};
|
|
740
739
|
|
|
741
740
|
ObservableItem.prototype.fnToggle = function() {
|
|
742
|
-
|
|
743
|
-
return () => self.toggle();
|
|
741
|
+
return () => this.toggle();
|
|
744
742
|
};
|
|
745
743
|
|
|
746
744
|
ObservableItem.prototype.fnSetTrue = function() {
|
|
747
|
-
|
|
748
|
-
return () => self.set(true);
|
|
745
|
+
return () => this.set(true);
|
|
749
746
|
};
|
|
750
747
|
|
|
751
748
|
ObservableItem.prototype.fnSetFalse = function() {
|
|
752
|
-
|
|
753
|
-
return () => self.set(false);
|
|
749
|
+
return () => this.set(false);
|
|
754
750
|
};
|
|
755
751
|
|
|
756
752
|
ObservableItem.prototype.fnReset = function() {
|
|
757
|
-
|
|
758
|
-
return () => self.reset();
|
|
753
|
+
return () => this.reset();
|
|
759
754
|
};
|