Comparing version 0.3.12 to 0.3.13
{ | ||
"name" : "vow", | ||
"version" : "0.3.11", | ||
"version" : "0.3.13", | ||
"main" : "lib/vow.js", | ||
"ignore" : ["**/.*", "node_modules", "benchmarks", "test", "Makefile", "package.json"] | ||
} | ||
} |
@@ -9,3 +9,3 @@ /** | ||
* | ||
* @version 0.3.12 | ||
* @version 0.3.13 | ||
*/ | ||
@@ -581,2 +581,2 @@ | ||
})(this); | ||
})(this); |
{ | ||
"name" : "vow", | ||
"version" : "0.3.12", | ||
"version" : "0.3.13", | ||
"description" : "Promises/A+ proposal compatible promises library", | ||
@@ -27,3 +27,8 @@ "homepage" : "https://github.com/dfilatov/vow", | ||
"test" : "./node_modules/istanbul/lib/cli.js test test/utils/runner.js" | ||
}, | ||
"enb" : { | ||
"sources" : [ | ||
"lib/vow.js" | ||
] | ||
} | ||
} |
@@ -168,5 +168,8 @@ <a href="http://promises-aplus.github.com/promises-spec"><img src="http://promises-aplus.github.com/promises-spec/assets/logo-small.png" align="right" /></a> | ||
function(val) { // to be called when promise is notified | ||
console.log('performed ' + val + '% of the job'); // -> performed 20% of the job | ||
console.log('performed ' + val + '% of the job'); | ||
}); | ||
promise.notify(20); | ||
promise.notify(20); // performed 20% of the job | ||
promise.notify(40); // performed 40% of the job | ||
promise.notify(60); // performed 60% of the job | ||
```` | ||
@@ -173,0 +176,0 @@ |
362
40269
7
499