nicescript
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -31,5 +31,5 @@ const fs = require('fs'); | ||
'types/range', | ||
'tag/tag', | ||
'tag/tags', | ||
'tag/inputs' | ||
'html/tag', | ||
'html/tags', | ||
'html/inputs' | ||
]; | ||
@@ -36,0 +36,0 @@ |
{ | ||
"name": "nicescript", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"keywords": [ | ||
@@ -25,4 +25,4 @@ "util", | ||
"chai-spies": "^0.7.1", | ||
"mocha": "3.x" | ||
"mocha": "latest" | ||
} | ||
} |
@@ -261,2 +261,3 @@ NiceScript | ||
let b2 = Box.use(b).by(n => n * 2); | ||
// short version Box.by(b, n => n * 2); | ||
b(3); // b2() === 6 | ||
@@ -286,5 +287,5 @@ | ||
const a = nice.Box([1, 2]).listen(console.log); | ||
[1, 2]; | ||
// [1, 2]; | ||
a.push(3); | ||
[1, 2, 3]; | ||
// [1, 2, 3]; | ||
``` | ||
@@ -315,4 +316,3 @@ | ||
const div = Box().use(data) | ||
.by(Switch | ||
const div = Box.by(data, Switch | ||
.string.use(s => Div('Data: ', s)) | ||
@@ -319,0 +319,0 @@ .default(Div('Loading...'))); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
278027
55
8842