Working with webpack

This commit is contained in:
2016-02-28 12:55:24 +08:00
parent e1306cf35a
commit 56f2e7d8a7
35 changed files with 413 additions and 2826 deletions
+4 -3
View File
@@ -3,7 +3,8 @@
* @param {[type]} function functionName( [description]
* @return {[type]} [description]
*/
var Rules = (function functionName(_) {
var chai = require("chai");
var Rules = module.exports = (function functionName(_,chai) {
@@ -250,7 +251,7 @@ var Rules = (function functionName(_) {
};
/** How many combination of this rule **/
Rule.prototype.combinations = function (arguments) {
Rule.prototype.combinations = function () {
var pos = _.map(this.optionDesc, 'possibleVals');
var c = 0;
for (var i = 0; i < pos.length; i++) {
@@ -577,4 +578,4 @@ var Rules = (function functionName(_) {
};
})(_);
})(_,chai);