Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #17 from danwrong/options_exclude

Options exclude
  • Loading branch information...
commit 1469937f7890f0f385dd3cca054e04fcd982c482 2 parents 5c6d066 + bd8466f
@danwrong authored
Showing with 7 additions and 2 deletions.
  1. +6 −1 lib/loadbuilder/builder.js
  2. +1 −1  package.json
View
7 lib/loadbuilder/builder.js
@@ -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;
}
View
2  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",
Please sign in to comment.
Something went wrong with that request. Please try again.