From cf99bab162ae4d40c612a0b55ad8a2ff1fc43c36 Mon Sep 17 00:00:00 2001 From: Carbo Kuo Date: Wed, 8 Apr 2015 14:47:50 +0200 Subject: [PATCH] Bump version to 0.1.7 --- CHANGELOG.md | 6 ++++++ README.md | 2 +- package.json | 2 +- test/results/continue.js | 2 +- test/results/defer.js | 2 +- test/results/diskusage.js | 2 +- test/results/factor.js | 2 +- test/results/fib.js | 2 +- test/results/for.js | 2 +- test/results/forin.js | 2 +- test/results/if.js | 2 +- test/results/ifvar.js | 2 +- test/results/list.js | 2 +- test/results/loop.js | 2 +- test/results/multiple_parallel.js | 2 +- test/results/nested_block.js | 2 +- test/results/parallel.js | 2 +- test/results/parallel_exception.js | 2 +- test/results/pi.js | 2 +- test/results/switch.js | 2 +- test/results/switchbreak.js | 2 +- test/results/this_argument.js | 2 +- test/results/this_argument_if.js | 2 +- test/results/try_body.js | 2 +- test/results/try_both.js | 2 +- test/results/try_catch.js | 2 +- test/results/try_if.js | 2 +- test/results/try_nested_function.js | 2 +- test/results/try_sync.js | 2 +- test/results/whilebreak.js | 2 +- 30 files changed, 35 insertions(+), 29 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eac78fd..017f01e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ #Change Log +## 0.1.7 + +2015-4-8 + +* Fix function defination orders. + ## 0.1.6 2015-3-25 diff --git a/README.md b/README.md index 69e2512..0f42695 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Install Continuation.js with [npm](https://npmjs.org/package/continuation): npm install -g continuation -Latest version: 0.1.6 (2015-03-25) +Latest version: 0.1.7 (2015-04-08) [Change log](https://github.com/BYVoid/continuation/blob/master/CHANGELOG.md) diff --git a/package.json b/package.json index d6e3472..3ce7fa0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "continuation", - "version": "0.1.6", + "version": "0.1.7", "description": "Continuation.js is a compiler for asynchronous JavaScript Continuation-Passing style transformation", "author": "BYVoid", "license": "BSD", diff --git a/test/results/continue.js b/test/results/continue.js index def7dde..c7c195c 100644 --- a/test/results/continue.js +++ b/test/results/continue.js @@ -17,4 +17,4 @@ function _$loop_0(_$loop_0__$cont) { _$loop_0 = _$loop_0.bind(this); _$loop_0(function () { }); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/defer.js b/test/results/defer.js index e118a4f..4926fc6 100644 --- a/test/results/defer.js +++ b/test/results/defer.js @@ -22,4 +22,4 @@ fs = require('fs'); console.log(e); } })); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/diskusage.js b/test/results/diskusage.js index da86814..fed3200 100644 --- a/test/results/diskusage.js +++ b/test/results/diskusage.js @@ -65,4 +65,4 @@ calcDirSize(path, function (arguments, _$param7, _$param8, _$param9) { console.log('Size:', Math.round(totalSize / 1024), 'KB'); console.log('Actual Size on Disk:', Math.round(totalBlockSize / 1024), 'KB'); }.bind(this, arguments)); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/factor.js b/test/results/factor.js index 57823ac..298782d 100644 --- a/test/results/factor.js +++ b/test/results/factor.js @@ -14,4 +14,4 @@ factor = function (n, callback) { }; factor(6, function (arguments) { }.bind(this, arguments)); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/fib.js b/test/results/fib.js index 4e67842..d4b3c53 100644 --- a/test/results/fib.js +++ b/test/results/fib.js @@ -24,4 +24,4 @@ fib = function () { }); }; fib(); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/for.js b/test/results/for.js index 7c8d3e4..d9dae2b 100644 --- a/test/results/for.js +++ b/test/results/for.js @@ -20,4 +20,4 @@ function _$loop_0(_$loop_0__$cont) { _$loop_0 = _$loop_0.bind(this); _$loop_0(function () { }); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/forin.js b/test/results/forin.js index c8fd73a..c90a683 100644 --- a/test/results/forin.js +++ b/test/results/forin.js @@ -25,4 +25,4 @@ function _$loop_0(_$loop_0__$cont) { _$loop_0 = _$loop_0.bind(this); _$loop_0(function () { }); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/if.js b/test/results/if.js index 2a37349..723c659 100644 --- a/test/results/if.js +++ b/test/results/if.js @@ -33,4 +33,4 @@ var err, text, a; return _$cont(_$err); a = err; }.bind(this))); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/ifvar.js b/test/results/ifvar.js index 8a77744..2d4a590 100644 --- a/test/results/ifvar.js +++ b/test/results/ifvar.js @@ -27,4 +27,4 @@ var b, c, i, j, k, p; return _$cont(_$err); console.log(b); }.bind(this))); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/list.js b/test/results/list.js index df21238..add8596 100644 --- a/test/results/list.js +++ b/test/results/list.js @@ -27,4 +27,4 @@ _$loop_0 = _$loop_0.bind(this); _$loop_0(function () { console.log(list); }); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/loop.js b/test/results/loop.js index 4b335e8..8d9dae9 100644 --- a/test/results/loop.js +++ b/test/results/loop.js @@ -15,4 +15,4 @@ _$loop_0 = _$loop_0.bind(this); _$loop_0(function () { console.log('Done'); }); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/multiple_parallel.js b/test/results/multiple_parallel.js index f24b941..899ca88 100644 --- a/test/results/multiple_parallel.js +++ b/test/results/multiple_parallel.js @@ -63,4 +63,4 @@ var _$errors_0 = []; console.log(d, e, f); })); })); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/nested_block.js b/test/results/nested_block.js index a54d13d..8a3dd1b 100644 --- a/test/results/nested_block.js +++ b/test/results/nested_block.js @@ -2,4 +2,4 @@ var x; x = 1; console.log(function (arguments) { }.bind(this, arguments)); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/parallel.js b/test/results/parallel.js index 09c951b..da893cf 100644 --- a/test/results/parallel.js +++ b/test/results/parallel.js @@ -41,4 +41,4 @@ var _$errors_0 = []; _$errors_0 = undefined; console.log('Done', r); })); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/parallel_exception.js b/test/results/parallel_exception.js index 4efb6c6..7379dfe 100644 --- a/test/results/parallel_exception.js +++ b/test/results/parallel_exception.js @@ -91,4 +91,4 @@ r = []; } console.log('Done'); })); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/pi.js b/test/results/pi.js index ab63a98..132f18b 100644 --- a/test/results/pi.js +++ b/test/results/pi.js @@ -17,4 +17,4 @@ calcPi(function (arguments, _$param1) { pi = _$param1; console.log(pi); }.bind(this, arguments)); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/switch.js b/test/results/switch.js index ef5b6f2..aa22678 100644 --- a/test/results/switch.js +++ b/test/results/switch.js @@ -59,4 +59,4 @@ var err, text, end; }.bind(this)(function (_$err) { end = 'a'; }.bind(this))); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/switchbreak.js b/test/results/switchbreak.js index d53ecf3..57db357 100644 --- a/test/results/switchbreak.js +++ b/test/results/switchbreak.js @@ -24,4 +24,4 @@ num = 1; } }.bind(this)(function (_$err) { }.bind(this))); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/this_argument.js b/test/results/this_argument.js index 077e65f..d225b00 100644 --- a/test/results/this_argument.js +++ b/test/results/this_argument.js @@ -21,4 +21,4 @@ obj.showWithDelay(10, function (arguments) { obj.showWithDelay('a', 'b', 10, function (arguments) { }.bind(this, arguments)); }.bind(this, arguments)); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/this_argument_if.js b/test/results/this_argument_if.js index 76573e7..fe363cc 100644 --- a/test/results/this_argument_if.js +++ b/test/results/this_argument_if.js @@ -21,4 +21,4 @@ o = { }; o.inner(); console.log(this.name); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/try_body.js b/test/results/try_body.js index 03cd0cb..41d775e 100644 --- a/test/results/try_body.js +++ b/test/results/try_body.js @@ -24,4 +24,4 @@ var a, err; } console.log('Done'); })); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/try_both.js b/test/results/try_both.js index 7209284..28e9e13 100644 --- a/test/results/try_both.js +++ b/test/results/try_both.js @@ -26,4 +26,4 @@ console.log('Finally'); console.log('Done'); })); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/try_catch.js b/test/results/try_catch.js index db3c0a1..490ba11 100644 --- a/test/results/try_catch.js +++ b/test/results/try_catch.js @@ -12,4 +12,4 @@ }(function () { console.log('Done'); })); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/try_if.js b/test/results/try_if.js index 3c76be6..4b96051 100644 --- a/test/results/try_if.js +++ b/test/results/try_if.js @@ -38,4 +38,4 @@ } console.log('Done'); })); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/try_nested_function.js b/test/results/try_nested_function.js index 3372b01..d3aa696 100644 --- a/test/results/try_nested_function.js +++ b/test/results/try_nested_function.js @@ -35,4 +35,4 @@ main(function (arguments, _$param0, _$param1) { res = _$param1; console.log('main() finished with', err, res); }.bind(this, arguments)); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/try_sync.js b/test/results/try_sync.js index c913fee..bffd76d 100644 --- a/test/results/try_sync.js +++ b/test/results/try_sync.js @@ -7,4 +7,4 @@ try { x = 3; setTimeout(function (arguments) { }.bind(this, arguments), 10); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file diff --git a/test/results/whilebreak.js b/test/results/whilebreak.js index 6e59269..0d976f1 100644 --- a/test/results/whilebreak.js +++ b/test/results/whilebreak.js @@ -17,4 +17,4 @@ function _$loop_0(_$loop_0__$cont) { _$loop_0 = _$loop_0.bind(this); _$loop_0(function () { }); -/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.7 */ \ No newline at end of file