Skip to content

Commit 0bfb7a9

Browse files
committed
prep form npm publish
1 parent c6859c9 commit 0bfb7a9

File tree

4 files changed

+9
-13
lines changed

4 files changed

+9
-13
lines changed

dist/S.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// <reference path="../S.d.ts" />
1+
/// <reference path="../index.d.ts" />
22
(function () {
33
"use strict";
44
// Public interface
@@ -20,7 +20,7 @@
2020
RunningNode = running;
2121
return function computation() {
2222
if (node.fn !== fn)
23-
return value;
23+
return value; // disposed, node has been re-used
2424
if (RunningNode) {
2525
var rclock = RunningClock, sclock = node.clock;
2626
while (rclock.depth > sclock.depth + 1)

S.d.ts renamed to index.d.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,8 @@ declare namespace S {
3131
() : T;
3232
(val : T) : T;
3333
}
34-
35-
interface SumSignal<T> {
36-
() : T;
37-
(update? : (value: T) => T) : T;
38-
}
3934
}
4035

4136
declare var S : S;
4237

43-
//export = S;
38+
export = S;

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "s.js",
3-
"version": "0.0.1",
4-
"description": "simple, clean, fast reactive programming in Javascript",
2+
"name": "s-js",
3+
"version": "0.4.0",
4+
"description": "S.js - simple, clean, fast reactive programming in Javascript",
55
"main": "dist/S.js",
66
"dependencies": {},
77
"devDependencies": {
@@ -22,7 +22,8 @@
2222
"reactive",
2323
"javascript",
2424
"synchronous",
25-
"signal"
25+
"signal",
26+
"dependency"
2627
],
2728
"author": "Adam Haile",
2829
"license": "MIT"

src/S.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// <reference path="../S.d.ts" />
1+
/// <reference path="../index.d.ts" />
22

33
declare var module : { exports : {} };
44
declare var define : (deps: string[], fn: () => S) => void;

0 commit comments

Comments
 (0)