Add _falseOptions module.

This commit is contained in:
John-David Dalton
2016-04-03 23:47:07 -07:00
parent 804ad3d805
commit 2293de07a7
3 changed files with 11 additions and 10 deletions

View File

@@ -109,9 +109,10 @@ function build(target) {
});
actions.unshift(util.copyFile(path.join(__dirname, '../../fp'), fpPath));
actions.push(util.writeFile(path.join(fpPath, '_falseOptions.js'), template._falseOptions()));
actions.push(util.writeFile(path.join(fpPath, '_util.js'), template._util()));
actions.push(util.writeFile(path.join(target, 'fp.js'), template.fp()));
actions.push(util.writeFile(path.join(fpPath, 'convert.js'), template.convert()));
actions.push(util.writeFile(path.join(fpPath, '_util.js'), template._util()));
async.series(actions, onComplete);
}

View File

@@ -0,0 +1,7 @@
module.exports = {
'cap': false,
'curry': false,
'fixed': false,
'immutable': false,
'rearg': false
});

View File

@@ -1,12 +1,5 @@
var convert = require('./convert');
var func = convert('<%= name %>', require('../<%= _.result(mapping.remap, name, name) %>'), {
'cap': false,
'curry': false,
'fixed': false,
'immutable': false,
'rearg': false
});
var convert = require('./convert'),
func = convert('<%= name %>', require('../<%= _.result(mapping.remap, name, name) %>'), require('./_falseOptions'));
func.placeholder = require('./placeholder');
module.exports = func;