ende 0.5.10 → 0.5.12
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.
- checksums.yaml +4 -4
- data/components/indefinido/indemma/master/component.json +1 -1
- data/components/indefinido/indemma/master/lib/record/associable.js +1 -1
- data/components/indefinido/observable/es6-modules/component.json +1 -1
- data/components/indefinido/observable/es6-modules/lib/legacy/schedulerable.js +11 -9
- data/components/indefinido/observable/es6-modules/lib/observable.js +9 -1
- data/lib/ende/version.rb +1 -1
- data/vendor/assets/components/ende_build.js +7861 -7847
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69671c40c9569195f1c98a3228073c2b8f6d2bf9
|
4
|
+
data.tar.gz: 15c2c1a58050e435a7a4f75d4a00e918e19c47b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb3f4dd813017fd91e0acfe5e8cf7b5f9e034f1ddce6d8d5f36b5f62e245bf9612ce208656da341d25467af32fed3d04f5c6e3f70ddc3113396ad8591f155824
|
7
|
+
data.tar.gz: fd1d313968408439ea05104a41d23249e24d1e754e92e2983ab2a3cb08ce212935602420cf9692d35a5c79a04dae23a96c2570d5af6af096436c1b9a985e61d6
|
@@ -157,7 +157,7 @@ descriptors = {
|
|
157
157
|
|
158
158
|
association_name = this.resource.toString();
|
159
159
|
current_value = this.owner.observed[association_name];
|
160
|
-
if (current_value === associated) {
|
160
|
+
if (current_value === associated && !(current_value || associated)) {
|
161
161
|
return;
|
162
162
|
}
|
163
163
|
this.owner.observed[association_name] = associated;
|
@@ -1,14 +1,13 @@
|
|
1
|
-
import lookup
|
2
|
-
import jQuery
|
1
|
+
import lookup from '../lookup.js';
|
2
|
+
import jQuery from 'jquery';
|
3
3
|
var scheduler, schedulerable;
|
4
4
|
|
5
5
|
scheduler = function(options) {
|
6
|
-
var name,
|
6
|
+
var name, value;
|
7
7
|
|
8
8
|
if (options == null) {
|
9
9
|
options = {};
|
10
10
|
}
|
11
|
-
timeout = null;
|
12
11
|
for (name in options) {
|
13
12
|
value = options[name];
|
14
13
|
options[name] = {
|
@@ -27,8 +26,8 @@ scheduler = function(options) {
|
|
27
26
|
deliver = function() {
|
28
27
|
return _this.deliver();
|
29
28
|
};
|
30
|
-
clearTimeout(
|
31
|
-
return
|
29
|
+
clearTimeout(this.timer);
|
30
|
+
return this.timer = setTimeout(deliver, 20 || options.wait);
|
32
31
|
}
|
33
32
|
}
|
34
33
|
});
|
@@ -127,9 +126,12 @@ schedulerable.augment = function(observable) {
|
|
127
126
|
}
|
128
127
|
};
|
129
128
|
unobserve = observable.unobserve;
|
130
|
-
observable.unobserve = function() {
|
131
|
-
|
132
|
-
|
129
|
+
observable.unobserve = function(object) {
|
130
|
+
if (!object.observation) {
|
131
|
+
return object;
|
132
|
+
}
|
133
|
+
object.observation.scheduler.destroy();
|
134
|
+
return unobserve.apply(this, arguments);
|
133
135
|
};
|
134
136
|
return jQuery.extend((function() {
|
135
137
|
var object;
|
@@ -1,10 +1,18 @@
|
|
1
|
+
var observable;
|
2
|
+
|
3
|
+
Number.isNaN || (Number.isNaN = isNaN);
|
4
|
+
|
1
5
|
import './platform.js';
|
6
|
+
|
2
7
|
import jQuery from 'jquery';
|
8
|
+
|
3
9
|
import observation from './observable/observation.js';
|
10
|
+
|
4
11
|
import selection from './observable/selection.js';
|
12
|
+
|
5
13
|
import KeypathObserver from './observable/keypath_observer.js';
|
14
|
+
|
6
15
|
import SelfObserver from './observable/self_observer.js';
|
7
|
-
var observable;
|
8
16
|
|
9
17
|
observable = function() {
|
10
18
|
var object;
|
data/lib/ende/version.rb
CHANGED