mol_plot_all 1.2.241 → 1.2.244
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/node.d.ts +2 -3
- package/node.deps.json +1 -1
- package/node.esm.js +20 -38
- package/node.esm.js.map +1 -1
- package/node.js +20 -38
- package/node.js.map +1 -1
- package/node.test.js +22 -65
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +2 -3
- package/web.deps.json +1 -1
- package/web.esm.js +20 -38
- package/web.esm.js.map +1 -1
- package/web.js +20 -38
- package/web.js.map +1 -1
- package/web.test.js +2 -27
- package/web.test.js.map +1 -1
package/web.test.js
CHANGED
|
@@ -1128,33 +1128,6 @@ var $;
|
|
|
1128
1128
|
], App, "test", null);
|
|
1129
1129
|
App.test();
|
|
1130
1130
|
},
|
|
1131
|
-
'Update deps on push'($) {
|
|
1132
|
-
class App extends $mol_object2 {
|
|
1133
|
-
static $ = $;
|
|
1134
|
-
static left(next = false) {
|
|
1135
|
-
return next;
|
|
1136
|
-
}
|
|
1137
|
-
static right(next = false) {
|
|
1138
|
-
return next;
|
|
1139
|
-
}
|
|
1140
|
-
static res(next) {
|
|
1141
|
-
return this.left(next) && this.right();
|
|
1142
|
-
}
|
|
1143
|
-
}
|
|
1144
|
-
__decorate([
|
|
1145
|
-
$mol_wire_mem(0)
|
|
1146
|
-
], App, "left", null);
|
|
1147
|
-
__decorate([
|
|
1148
|
-
$mol_wire_mem(0)
|
|
1149
|
-
], App, "right", null);
|
|
1150
|
-
__decorate([
|
|
1151
|
-
$mol_wire_mem(0)
|
|
1152
|
-
], App, "res", null);
|
|
1153
|
-
$mol_assert_equal(App.res(), false);
|
|
1154
|
-
$mol_assert_equal(App.res(true), false);
|
|
1155
|
-
$mol_assert_equal(App.right(true), true);
|
|
1156
|
-
$mol_assert_equal(App.res(), true);
|
|
1157
|
-
},
|
|
1158
1131
|
'Different order of pull and push'($) {
|
|
1159
1132
|
class App extends $mol_object2 {
|
|
1160
1133
|
static $ = $;
|
|
@@ -1165,6 +1138,8 @@ var $;
|
|
|
1165
1138
|
return this.store(next);
|
|
1166
1139
|
}
|
|
1167
1140
|
static slow(next) {
|
|
1141
|
+
if (next !== undefined)
|
|
1142
|
+
this.slow();
|
|
1168
1143
|
return this.store(next);
|
|
1169
1144
|
}
|
|
1170
1145
|
}
|