corrade-nucleus-nucleons – Blame information for rev 24
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
20 | office | 1 | var cc = require("../"); |
2 | |||
3 | var chain = cc() |
||
4 | , name = "forFun"; |
||
5 | |||
6 | chain |
||
7 | .add({ |
||
8 | __sample:"for fun only" |
||
9 | }, name) |
||
10 | .on("load", function() { |
||
11 | //It throw exception here |
||
12 | console.log(chain.get("__sample", name)); |
||
13 | //But if I drop the name param, it run normally and return as expected: "for fun only" |
||
14 | //console.log(chain.get("__sample")); |
||
15 | }); |