Skip to content

Commit

Permalink
Merge pull request #17 from danwrong/options_exclude
Browse files Browse the repository at this point in the history
Options exclude
  • Loading branch information
danwrong committed Apr 5, 2012
2 parents 5c6d066 + bd8466f commit 1469937
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion lib/loadbuilder/builder.js
Expand Up @@ -49,7 +49,12 @@ function Builder(options) {
util.extend(this.options, Builder.default_options);
util.extend(this.options, options || {});
this.assets = [];
this.excludes = this.options.excludes || [];
this.excludes = [];
if (this.options.excludes) {
this.options.excludes.forEach(function(ex) {
this.exclude(ex);
}, this);
}
this.matchers = [];
this.preProcessor = options.preProcessor;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "loadbuilder",
"version": "0.2.8",
"version": "0.2.9",
"description": "Combine and compress dependency chains created by Loadrunner",
"contributors": [{ "name": "Dan Webb", "email": "dan@danwebb.net" }, { "name": "Kenneth Kufluk", "email": "kenneth@kufluk.com" }],
"homepage": "https://github.com/danwrong/loadbuilder",
Expand Down

0 comments on commit 1469937

Please sign in to comment.