Skip to content

Commit beff4b1

Browse files
committed
commit
1 parent cf60428 commit beff4b1

File tree

6 files changed

+18
-13
lines changed

6 files changed

+18
-13
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "timeengine",
3-
"version": "6.2.3",
3+
"version": "6.2.4",
44
"description": "TimeEngine is a tiny, simple yet versatile library that provides first class reactive value 'over time' with smart dependency resolving capability in JavaScript. Built for a programming paradigm: Dependency driven Functional Reactive Programming (DFRP)",
55
"main": "timeengine.js",
66
"scripts": {

react-test/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
const __seqEl = __([__count])
8181
.__(([count]) => (<span>{count}</span>));
8282
return (<div>
83-
<button
83+
<button
8484
onClick={() => (__updn.t = 1)}>{"Up"}</button>
8585
<button
8686
onClick={() => (__updn.t = -1)}>{"Down"}</button>

test.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -290,15 +290,7 @@
290290
})();
291291

292292

293-
/*
294-
295-
(() => {
296293

297-
const loop = Immutable.Range(0, 999999) //loop 10 times
298-
.map((c) => (__.log.t = c))
299-
.toArray(); //lazy Seq toArray to compute
300-
})();
301294

302-
*/
303295

304296
})();

test2.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
(() => {
2+
'use strict';
3+
4+
const __ = require('./timeengine.js');
5+
const Immutable = require('immutable');
6+
7+
(() => {
8+
const __a = __();
9+
})();
10+
11+
12+
13+
})();

timeengine.es

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(() => {
2-
'dse strict';
2+
'use strict';
33
const getID = ((id0) => {
44
let id = id0;
55
return () => (id++);

timeengine.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22

33
(function () {
4-
'dse strict';
4+
'use strict';
55

66
var getID = function (id0) {
77
var id = id0;
@@ -27,7 +27,7 @@
2727

2828
seq.updatedTo = {};
2929
seq.us.map(function (u) {
30-
// add self seq to ds Array of d
30+
// seq is a member of u.ds
3131
u.ds[u.ds.length] = seq;
3232
u.updatedTo[seq.id] = 0; // non-interference dependency
3333
});

0 commit comments

Comments
 (0)