When I use cram and curl, I get this error:
cram failed: grokking "./src/scripts/run.js": TypeError: Object function _curl() {
var args, config, includes, warnings;
warnings = [];
// parse params
args = Array.prototype.slice.call(arguments);
if (Object.prototype.toString.call(args[0]) == '[object Object]') {
config = args.shift();
}
if (Object.prototype.toString.call(args[0]) == '[object Array]') {
includes = args.shift();
}
if (typeof args[0] == 'function') {
warnings.push('Did not inspect code inside `curl()` callback(s).');
}
collectConfig(config, includes, warnings);
return {
// warn when .then() is called
then: function (cb, eb) {
warn('Did not inspect code inside `.then()` callback(s).');
},
// warn if .next() is called
next: function (modules) {
warn('Did not include any modules mentioned in `.next()`: ' + modules);
},
config: function(cfg) {
collectConfig(cfg);
}
};
} has no method 'config'
When I use cram and curl, I get this error: cram failed: grokking "./src/scripts/run.js": TypeError: Object function _curl() { var args, config, includes, warnings;