Skip to content

Commit

Permalink
fix(build): Build src for update to environment selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Newby committed Mar 11, 2016
1 parent 4e05c74 commit 4388dac
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/amd/aurelia-configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-path', 'aurelia-load

if (hostname.search(host) !== -1) {
this.setEnvironment(env);

return;
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions dist/aurelia-configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ export class Configure {
for (let host of hostnames) {
if (hostname.search(host) !== -1) {
this.setEnvironment(env);

// We have successfully found an environment, stop searching
return;
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions dist/commonjs/aurelia-configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ var Configure = (function () {

if (hostname.search(host) !== -1) {
this.setEnvironment(env);

return;
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions dist/es6/aurelia-configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ export class Configure {
for (let host of hostnames) {
if (hostname.search(host) !== -1) {
this.setEnvironment(env);

// We have successfully found an environment, stop searching
return;
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions dist/system/aurelia-configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ System.register(['aurelia-dependency-injection', 'aurelia-path', 'aurelia-loader

if (hostname.search(host) !== -1) {
this.setEnvironment(env);

return;
}
}
}
Expand Down

0 comments on commit 4388dac

Please sign in to comment.