Sha256: 4b1cef9cd38b0eec0dde4d38d15083284fc3d0d18de790087046eaf16b694966
Contents?: true
Size: 391 Bytes
Versions: 32
Compression:
Stored size: 391 Bytes
Contents
var cc = require("../"); var chain = cc() , name = "forFun"; chain .add({ __sample:"for fun only" }, name) .on("load", function() { //It throw exception here console.log(chain.get("__sample", name)); //But if I drop the name param, it run normally and return as expected: "for fun only" //console.log(chain.get("__sample")); });
Version data entries
32 entries across 24 versions & 4 rubygems