streams implementation
This commit is contained in:
parent
94a8be4fca
commit
b9ce90765d
12 changed files with 1104 additions and 167 deletions
|
|
@ -1,16 +0,0 @@
|
|||
"use strict"
|
||||
|
||||
var o = require("../../ospec/ospec")
|
||||
var prop = require("../../util/prop")
|
||||
|
||||
o.spec("prop", function() {
|
||||
o("works", function() {
|
||||
var store = prop(1)
|
||||
var initialValue = store()
|
||||
store(2)
|
||||
var newValue = store()
|
||||
|
||||
o(initialValue).equals(1)
|
||||
o(newValue).equals(2)
|
||||
})
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue