diff options
author | alon@honor <none@none> | 2010-10-18 21:15:36 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-10-18 21:15:36 -0700 |
commit | 890130e93bc1128d7b5fbdcc512e243ef78cd712 (patch) | |
tree | 161ed3d2fd17a4858e82d1c751861598a95c474a /src/enzymatic.js | |
parent | baa2806fdd6c01df82058bf523a767e88d7049ae (diff) |
fix bug with size of small structures, and parsing them
Diffstat (limited to 'src/enzymatic.js')
-rw-r--r-- | src/enzymatic.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/enzymatic.js b/src/enzymatic.js index bb4458fe..d940030e 100644 --- a/src/enzymatic.js +++ b/src/enzymatic.js @@ -42,6 +42,7 @@ Substrate.prototype = { zyme.forwardItems = bind(this, this.addItems); this.zymes[name_] = zyme; if (!zyme.process) zyme.process = Zyme.prototype.process; + return zyme; }, solve: function() { @@ -83,7 +84,7 @@ Substrate.prototype = { dprint('New results: ' + (outputs.length + that.results.length - currResultCount) + ' out of ' + (that.results.length + outputs.length)); } catch (e) { print("Exception, current selected are: " + inputs.map(dump).join('\n\n')); - print("Stack: " + dump(new Error().stack)); + print("Stack: " + new Error().stack); throw e; } hadProcessing = true; |