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

Version Path
node-compiler-0.9.1 vendor/node/deps/npm/node_modules/config-chain/test/get.js
node-compiler-0.9.0 vendor/node-v7.2.1/deps/npm/node_modules/config-chain/test/get.js
node-compiler-0.8.0 vendor/node-v7.2.0/deps/npm/node_modules/config-chain/test/get.js
node-compiler-0.7.0 vendor/node-v7.1.0/deps/npm/node_modules/config-chain/test/get.js
node-compiler-0.7.0 vendor/node-v6.9.1/deps/npm/node_modules/config-chain/test/get.js
hooch-0.4.2 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/get.js
hooch-0.4.1 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/get.js
hooch-0.4.0 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/get.js
gulp_assets-1.0.0.pre.5 template/node_modules/gulp-sass/node_modules/node-sass/node_modules/npmconf/node_modules/config-chain/test/get.js
gulp_assets-1.0.0.pre.4 template/node_modules/gulp-sass/node_modules/node-sass/node_modules/npmconf/node_modules/config-chain/test/get.js
gulp_assets-1.0.0.pre.3 template/node_modules/gulp-sass/node_modules/node-sass/node_modules/npmconf/node_modules/config-chain/test/get.js
hooch-0.3.0 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/get.js
hooch-0.2.1 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/get.js
hooch-0.2.0 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/get.js
hooch-0.1.0 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/get.js
hooch-0.0.8 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/get.js
hooch-0.0.7 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/get.js
hooch-0.0.6 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/get.js
entangled-0.0.16 spec/dummy/public/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/get.js
entangled-0.0.16 spec/dummy/public/node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/npmconf/node_modules/config-chain/test/get.js