Skip to content

Commit

Permalink
chore(all): prepare release 0.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Nov 4, 2016
1 parent c022503 commit 5091b4c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
5 changes: 3 additions & 2 deletions dist/amd/styles/style-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ define(["require", "exports", './style-controller', '../aurelia-ux', 'aurelia-bi
Object.keys(this.styles).forEach(function (key) {
$styles[key] = generateRandomClass(key);
});
return new style_controller_1.StyleController(this, bindingContext, new StyleOverrideContext(ux, $styles), this.expression, destination);
return new style_controller_1.StyleController(this, bindingContext, new StyleOverrideContext(ux, $styles, bindingContext), this.expression, destination);
};
return StyleFactory;
}());
Expand All @@ -46,9 +46,10 @@ define(["require", "exports", './style-controller', '../aurelia-ux', 'aurelia-bi
return ++currentNumber;
}
var StyleOverrideContext = (function () {
function StyleOverrideContext($ux, $styles) {
function StyleOverrideContext($ux, $styles, bindingContext) {
this.$ux = $ux;
this.$styles = $styles;
this.bindingContext = bindingContext;
this.$on = '(min-width: 0)';
this.$off = '(max-width: 0)';
this.$swatches = swatches_1.swatches;
Expand Down
5 changes: 3 additions & 2 deletions dist/commonjs/styles/style-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var StyleFactory = (function () {
Object.keys(this.styles).forEach(function (key) {
$styles[key] = generateRandomClass(key);
});
return new style_controller_1.StyleController(this, bindingContext, new StyleOverrideContext(ux, $styles), this.expression, destination);
return new style_controller_1.StyleController(this, bindingContext, new StyleOverrideContext(ux, $styles, bindingContext), this.expression, destination);
};
return StyleFactory;
}());
Expand All @@ -50,9 +50,10 @@ function nextNumber() {
return ++currentNumber;
}
var StyleOverrideContext = (function () {
function StyleOverrideContext($ux, $styles) {
function StyleOverrideContext($ux, $styles, bindingContext) {
this.$ux = $ux;
this.$styles = $styles;
this.bindingContext = bindingContext;
this.$on = '(min-width: 0)';
this.$off = '(max-width: 0)';
this.$swatches = swatches_1.swatches;
Expand Down
5 changes: 3 additions & 2 deletions dist/es2015/styles/style-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export var StyleFactory = (function () {
Object.keys(this.styles).forEach(function (key) {
$styles[key] = generateRandomClass(key);
});
return new StyleController(this, bindingContext, new StyleOverrideContext(ux, $styles), this.expression, destination);
return new StyleController(this, bindingContext, new StyleOverrideContext(ux, $styles, bindingContext), this.expression, destination);
};
return StyleFactory;
}());
Expand All @@ -48,9 +48,10 @@ function nextNumber() {
return ++currentNumber;
}
var StyleOverrideContext = (function () {
function StyleOverrideContext($ux, $styles) {
function StyleOverrideContext($ux, $styles, bindingContext) {
this.$ux = $ux;
this.$styles = $styles;
this.bindingContext = bindingContext;
this.$on = '(min-width: 0)';
this.$off = '(max-width: 0)';
this.$swatches = swatches;
Expand Down
5 changes: 3 additions & 2 deletions dist/system/styles/style-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,17 @@ System.register(['./style-controller', '../aurelia-ux', 'aurelia-binding', 'aure
Object.keys(this.styles).forEach(function (key) {
$styles[key] = generateRandomClass(key);
});
return new style_controller_1.StyleController(this, bindingContext, new StyleOverrideContext(ux, $styles), this.expression, destination);
return new style_controller_1.StyleController(this, bindingContext, new StyleOverrideContext(ux, $styles, bindingContext), this.expression, destination);
};
return StyleFactory;
}());
exports_1("StyleFactory", StyleFactory);
currentNumber = 0;
StyleOverrideContext = (function () {
function StyleOverrideContext($ux, $styles) {
function StyleOverrideContext($ux, $styles, bindingContext) {
this.$ux = $ux;
this.$styles = $styles;
this.bindingContext = bindingContext;
this.$on = '(min-width: 0)';
this.$off = '(max-width: 0)';
this.$swatches = swatches_1.swatches;
Expand Down

0 comments on commit 5091b4c

Please sign in to comment.