Skip to content

Commit f89b4cb

Browse files
committed
use subdirectories
1 parent 2855704 commit f89b4cb

File tree

7 files changed

+6
-5
lines changed

7 files changed

+6
-5
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"url": "http://github.com/bergus/F/issues"
1414
},
1515
"scripts": {
16-
"test": "promises-aplus-tests aplus-adapter.js"
16+
"test": "promises-aplus-tests tests/aplus-adapter.js"
1717
},
1818
"main": "Promise.js",
1919
"devDependencies": {

roadmap.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Things to do:
2929
- links to promise introductions
3030
- why you should use this library
3131
- higly functional capabilities, algebraic
32-
- rich features: lazyness, smart cancellation
32+
- rich features: lazyness, smart cancellation, multivalues
3333
- easy debugging?
3434
- speed?
3535
- size? (ratio?)
File renamed without changes.
File renamed without changes.

test.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
Object.setPrototypeOf = function setPrototypeOf(o, p) { o.__proto__ = p; return o; };
1717
</script>
1818

19-
<script src="Promise.js"></script>
20-
<script src="variants.js"></script>
19+
<script src="src/Promise.js"></script>
20+
<script src="src/variants.js"></script>
2121
</head>
2222

2323
<body>

aplus-adapter.js renamed to tests/aplus-adapter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
if (!Object.setPrototypeOf)
22
Object.setPrototypeOf = function(o, p) { o.__proto__ = p; return o; };
3-
var Promise = require("./variants.js");
3+
var Promise = require("../src/variants.js");
44

55
exports.resolved = Promise.resolve.bind(Promise);
66
exports.rejected = Promise.reject.bind(Promise);

todo.md

+1
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ Promise.run(a.fork({error: function(e) { console.log(e.stacktrace);}}))
186186
* ensure Promise.of (fantasyland) is not a method
187187
* Promise.sync might not do `Promise.run` from inside the constructor?
188188
* propDefault
189+
* remove `that` refences from constructors, instead use reference to `fork` method for identification - helps subclassing and copying
189190
*/
190191

191192
/* SPEC: Communication

0 commit comments

Comments
 (0)