Skip to content

Commit

Permalink
chore(all): prepare release 1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Sep 25, 2018
1 parent 69d3eff commit b000e81
Show file tree
Hide file tree
Showing 16 changed files with 25 additions and 15 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-validation",
"version": "1.2.2",
"version": "1.2.3",
"description": "Validation for Aurelia applications",
"keywords": [
"aurelia",
Expand Down
2 changes: 1 addition & 1 deletion dist/amd/validation-errors-custom-attribute.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export interface RenderedError {
export declare class ValidationErrorsCustomAttribute implements ValidationRenderer {
private boundaryElement;
private controllerAccessor;
static inject: ({
static inject(): ({
new (): Element;
prototype: Element;
} | Lazy)[];
Expand Down
2 changes: 1 addition & 1 deletion dist/amd/validation-errors-custom-attribute.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ define(["require", "exports", "aurelia-binding", "aurelia-dependency-injection",
this.errors = [];
this.errorsInternal = [];
}
ValidationErrorsCustomAttribute.inject = function () { return [aurelia_pal_1.DOM.Element, aurelia_dependency_injection_1.Lazy.of(validation_controller_1.ValidationController)]; };
ValidationErrorsCustomAttribute.prototype.sort = function () {
this.errorsInternal.sort(function (a, b) {
if (a.targets[0] === b.targets[0]) {
Expand Down Expand Up @@ -65,7 +66,6 @@ define(["require", "exports", "aurelia-binding", "aurelia-dependency-injection",
this.controller.removeRenderer(this);
}
};
ValidationErrorsCustomAttribute.inject = [aurelia_pal_1.DOM.Element, aurelia_dependency_injection_1.Lazy.of(validation_controller_1.ValidationController)];
__decorate([
aurelia_templating_1.bindable({ defaultBindingMode: aurelia_binding_1.bindingMode.oneWay })
], ValidationErrorsCustomAttribute.prototype, "controller", void 0);
Expand Down
2 changes: 1 addition & 1 deletion dist/commonjs/validation-errors-custom-attribute.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export interface RenderedError {
export declare class ValidationErrorsCustomAttribute implements ValidationRenderer {
private boundaryElement;
private controllerAccessor;
static inject: ({
static inject(): ({
new (): Element;
prototype: Element;
} | Lazy)[];
Expand Down
2 changes: 1 addition & 1 deletion dist/commonjs/validation-errors-custom-attribute.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ var ValidationErrorsCustomAttribute = /** @class */ (function () {
this.errors = [];
this.errorsInternal = [];
}
ValidationErrorsCustomAttribute.inject = function () { return [aurelia_pal_1.DOM.Element, aurelia_dependency_injection_1.Lazy.of(validation_controller_1.ValidationController)]; };
ValidationErrorsCustomAttribute.prototype.sort = function () {
this.errorsInternal.sort(function (a, b) {
if (a.targets[0] === b.targets[0]) {
Expand Down Expand Up @@ -69,7 +70,6 @@ var ValidationErrorsCustomAttribute = /** @class */ (function () {
this.controller.removeRenderer(this);
}
};
ValidationErrorsCustomAttribute.inject = [aurelia_pal_1.DOM.Element, aurelia_dependency_injection_1.Lazy.of(validation_controller_1.ValidationController)];
__decorate([
aurelia_templating_1.bindable({ defaultBindingMode: aurelia_binding_1.bindingMode.oneWay })
], ValidationErrorsCustomAttribute.prototype, "controller", void 0);
Expand Down
2 changes: 1 addition & 1 deletion dist/es2015/validation-errors-custom-attribute.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export interface RenderedError {
export declare class ValidationErrorsCustomAttribute implements ValidationRenderer {
private boundaryElement;
private controllerAccessor;
static inject: ({
static inject(): ({
new (): Element;
prototype: Element;
} | Lazy)[];
Expand Down
2 changes: 1 addition & 1 deletion dist/es2015/validation-errors-custom-attribute.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ let ValidationErrorsCustomAttribute = class ValidationErrorsCustomAttribute {
this.errors = [];
this.errorsInternal = [];
}
static inject() { return [DOM.Element, Lazy.of(ValidationController)]; }
sort() {
this.errorsInternal.sort((a, b) => {
if (a.targets[0] === b.targets[0]) {
Expand Down Expand Up @@ -61,7 +62,6 @@ let ValidationErrorsCustomAttribute = class ValidationErrorsCustomAttribute {
}
}
};
ValidationErrorsCustomAttribute.inject = [DOM.Element, Lazy.of(ValidationController)];
__decorate([
bindable({ defaultBindingMode: bindingMode.oneWay })
], ValidationErrorsCustomAttribute.prototype, "controller", void 0);
Expand Down
2 changes: 1 addition & 1 deletion dist/es2017/validation-errors-custom-attribute.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export interface RenderedError {
export declare class ValidationErrorsCustomAttribute implements ValidationRenderer {
private boundaryElement;
private controllerAccessor;
static inject: ({
static inject(): ({
new (): Element;
prototype: Element;
} | Lazy)[];
Expand Down
2 changes: 1 addition & 1 deletion dist/es2017/validation-errors-custom-attribute.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ let ValidationErrorsCustomAttribute = class ValidationErrorsCustomAttribute {
this.errors = [];
this.errorsInternal = [];
}
static inject() { return [DOM.Element, Lazy.of(ValidationController)]; }
sort() {
this.errorsInternal.sort((a, b) => {
if (a.targets[0] === b.targets[0]) {
Expand Down Expand Up @@ -61,7 +62,6 @@ let ValidationErrorsCustomAttribute = class ValidationErrorsCustomAttribute {
}
}
};
ValidationErrorsCustomAttribute.inject = [DOM.Element, Lazy.of(ValidationController)];
__decorate([
bindable({ defaultBindingMode: bindingMode.oneWay })
], ValidationErrorsCustomAttribute.prototype, "controller", void 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export interface RenderedError {
export declare class ValidationErrorsCustomAttribute implements ValidationRenderer {
private boundaryElement;
private controllerAccessor;
static inject: ({
static inject(): ({
new (): Element;
prototype: Element;
} | Lazy)[];
Expand Down
2 changes: 1 addition & 1 deletion dist/native-modules/validation-errors-custom-attribute.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ var ValidationErrorsCustomAttribute = /** @class */ (function () {
this.errors = [];
this.errorsInternal = [];
}
ValidationErrorsCustomAttribute.inject = function () { return [DOM.Element, Lazy.of(ValidationController)]; };
ValidationErrorsCustomAttribute.prototype.sort = function () {
this.errorsInternal.sort(function (a, b) {
if (a.targets[0] === b.targets[0]) {
Expand Down Expand Up @@ -67,7 +68,6 @@ var ValidationErrorsCustomAttribute = /** @class */ (function () {
this.controller.removeRenderer(this);
}
};
ValidationErrorsCustomAttribute.inject = [DOM.Element, Lazy.of(ValidationController)];
__decorate([
bindable({ defaultBindingMode: bindingMode.oneWay })
], ValidationErrorsCustomAttribute.prototype, "controller", void 0);
Expand Down
2 changes: 1 addition & 1 deletion dist/system/validation-errors-custom-attribute.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export interface RenderedError {
export declare class ValidationErrorsCustomAttribute implements ValidationRenderer {
private boundaryElement;
private controllerAccessor;
static inject: ({
static inject(): ({
new (): Element;
prototype: Element;
} | Lazy)[];
Expand Down
2 changes: 1 addition & 1 deletion dist/system/validation-errors-custom-attribute.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ System.register(["aurelia-binding", "aurelia-dependency-injection", "aurelia-tem
this.errors = [];
this.errorsInternal = [];
}
ValidationErrorsCustomAttribute.inject = function () { return [aurelia_pal_1.DOM.Element, aurelia_dependency_injection_1.Lazy.of(validation_controller_1.ValidationController)]; };
ValidationErrorsCustomAttribute.prototype.sort = function () {
this.errorsInternal.sort(function (a, b) {
if (a.targets[0] === b.targets[0]) {
Expand Down Expand Up @@ -85,7 +86,6 @@ System.register(["aurelia-binding", "aurelia-dependency-injection", "aurelia-tem
this.controller.removeRenderer(this);
}
};
ValidationErrorsCustomAttribute.inject = [aurelia_pal_1.DOM.Element, aurelia_dependency_injection_1.Lazy.of(validation_controller_1.ValidationController)];
__decorate([
aurelia_templating_1.bindable({ defaultBindingMode: aurelia_binding_1.bindingMode.oneWay })
], ValidationErrorsCustomAttribute.prototype, "controller", void 0);
Expand Down
10 changes: 10 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name="1.2.3"></a>
## [1.2.3](https://github.com/aurelia/validation/compare/1.2.2...1.2.3) (2018-09-25)


### Bug Fixes

* **DI:** static inject method instead of property ([69d3eff](https://github.com/aurelia/validation/commit/69d3eff))



<a name="1.2.0"></a>
# [1.2.0](https://github.com/aurelia/validation/compare/1.1.3...1.2.0) (2018-06-21)

Expand Down
2 changes: 1 addition & 1 deletion doc/api.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-validation",
"version": "1.2.2",
"version": "1.2.3",
"description": "Validation for Aurelia applications",
"keywords": [
"aurelia",
Expand Down

0 comments on commit b000e81

Please sign in to comment.