Skip to content

Commit

Permalink
chore(all): prepare release 0.12.5
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Sep 13, 2016
1 parent 03d4539 commit 7b13300
Show file tree
Hide file tree
Showing 17 changed files with 35 additions and 26 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": "0.12.4",
"version": "0.12.5",
"description": "Validation for Aurelia applications",
"keywords": [
"aurelia",
Expand Down
2 changes: 1 addition & 1 deletion dist/amd/implementation/validation-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ define(["require", "exports", 'aurelia-binding', 'aurelia-templating', './util',
return expression;
};
ValidationParser.prototype.getAccessorExpression = function (fn) {
var classic = /^function\s*\([$_\w\d]+\)\s*\{\s*return\s+[$_\w\d]+\.([$_\w\d]+)\s*;?\s*\}$/;
var classic = /^function\s*\([$_\w\d]+\)\s*\{\s*(?:"use strict";)?\s*return\s+[$_\w\d]+\.([$_\w\d]+)\s*;?\s*\}$/;
var arrow = /^[$_\w\d]+\s*=>\s*[$_\w\d]+\.([$_\w\d]+)$/;
var match = classic.exec(fn) || arrow.exec(fn);
if (match === null) {
Expand Down
2 changes: 1 addition & 1 deletion dist/amd/validation-controller-factory.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Container } from 'aurelia-dependency-injection';
*/
export declare class ValidationControllerFactory {
private container;
static inject: typeof Container[];
static get(container: Container): ValidationControllerFactory;
constructor(container: Container);
/**
* Creates a new controller and registers it in the current element's container so that it's
Expand Down
7 changes: 5 additions & 2 deletions dist/amd/validation-controller-factory.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define(["require", "exports", 'aurelia-dependency-injection', './validation-controller'], function (require, exports, aurelia_dependency_injection_1, validation_controller_1) {
define(["require", "exports", './validation-controller'], function (require, exports, validation_controller_1) {
"use strict";
/**
* Creates ValidationController instances.
Expand All @@ -7,6 +7,9 @@ define(["require", "exports", 'aurelia-dependency-injection', './validation-cont
function ValidationControllerFactory(container) {
this.container = container;
}
ValidationControllerFactory.get = function (container) {
return new ValidationControllerFactory(container);
};
/**
* Creates a new controller and registers it in the current element's container so that it's
* available to the validate binding behavior and renderers.
Expand All @@ -23,8 +26,8 @@ define(["require", "exports", 'aurelia-dependency-injection', './validation-cont
this.container.registerInstance(validation_controller_1.ValidationController, controller);
return controller;
};
ValidationControllerFactory.inject = [aurelia_dependency_injection_1.Container];
return ValidationControllerFactory;
}());
exports.ValidationControllerFactory = ValidationControllerFactory;
ValidationControllerFactory['protocol:aurelia:resolver'] = true;
});
2 changes: 1 addition & 1 deletion dist/commonjs/implementation/validation-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var ValidationParser = (function () {
return expression;
};
ValidationParser.prototype.getAccessorExpression = function (fn) {
var classic = /^function\s*\([$_\w\d]+\)\s*\{\s*return\s+[$_\w\d]+\.([$_\w\d]+)\s*;?\s*\}$/;
var classic = /^function\s*\([$_\w\d]+\)\s*\{\s*(?:"use strict";)?\s*return\s+[$_\w\d]+\.([$_\w\d]+)\s*;?\s*\}$/;
var arrow = /^[$_\w\d]+\s*=>\s*[$_\w\d]+\.([$_\w\d]+)$/;
var match = classic.exec(fn) || arrow.exec(fn);
if (match === null) {
Expand Down
2 changes: 1 addition & 1 deletion dist/commonjs/validation-controller-factory.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Container } from 'aurelia-dependency-injection';
*/
export declare class ValidationControllerFactory {
private container;
static inject: typeof Container[];
static get(container: Container): ValidationControllerFactory;
constructor(container: Container);
/**
* Creates a new controller and registers it in the current element's container so that it's
Expand Down
6 changes: 4 additions & 2 deletions dist/commonjs/validation-controller-factory.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"use strict";
var aurelia_dependency_injection_1 = require('aurelia-dependency-injection');
var validation_controller_1 = require('./validation-controller');
/**
* Creates ValidationController instances.
Expand All @@ -8,6 +7,9 @@ var ValidationControllerFactory = (function () {
function ValidationControllerFactory(container) {
this.container = container;
}
ValidationControllerFactory.get = function (container) {
return new ValidationControllerFactory(container);
};
/**
* Creates a new controller and registers it in the current element's container so that it's
* available to the validate binding behavior and renderers.
Expand All @@ -24,7 +26,7 @@ var ValidationControllerFactory = (function () {
this.container.registerInstance(validation_controller_1.ValidationController, controller);
return controller;
};
ValidationControllerFactory.inject = [aurelia_dependency_injection_1.Container];
return ValidationControllerFactory;
}());
exports.ValidationControllerFactory = ValidationControllerFactory;
ValidationControllerFactory['protocol:aurelia:resolver'] = true;
2 changes: 1 addition & 1 deletion dist/es2015/implementation/validation-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class ValidationParser {
return expression;
}
getAccessorExpression(fn) {
const classic = /^function\s*\([$_\w\d]+\)\s*\{\s*return\s+[$_\w\d]+\.([$_\w\d]+)\s*;?\s*\}$/;
const classic = /^function\s*\([$_\w\d]+\)\s*\{\s*(?:"use strict";)?\s*return\s+[$_\w\d]+\.([$_\w\d]+)\s*;?\s*\}$/;
const arrow = /^[$_\w\d]+\s*=>\s*[$_\w\d]+\.([$_\w\d]+)$/;
const match = classic.exec(fn) || arrow.exec(fn);
if (match === null) {
Expand Down
2 changes: 1 addition & 1 deletion dist/es2015/validation-controller-factory.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Container } from 'aurelia-dependency-injection';
*/
export declare class ValidationControllerFactory {
private container;
static inject: typeof Container[];
static get(container: Container): ValidationControllerFactory;
constructor(container: Container);
/**
* Creates a new controller and registers it in the current element's container so that it's
Expand Down
6 changes: 4 additions & 2 deletions dist/es2015/validation-controller-factory.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Container } from 'aurelia-dependency-injection';
import { ValidationController } from './validation-controller';
/**
* Creates ValidationController instances.
Expand All @@ -7,6 +6,9 @@ export class ValidationControllerFactory {
constructor(container) {
this.container = container;
}
static get(container) {
return new ValidationControllerFactory(container);
}
/**
* Creates a new controller and registers it in the current element's container so that it's
* available to the validate binding behavior and renderers.
Expand All @@ -24,4 +26,4 @@ export class ValidationControllerFactory {
return controller;
}
}
ValidationControllerFactory.inject = [Container];
ValidationControllerFactory['protocol:aurelia:resolver'] = true;
2 changes: 1 addition & 1 deletion dist/native-modules/implementation/validation-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export var ValidationParser = (function () {
return expression;
};
ValidationParser.prototype.getAccessorExpression = function (fn) {
var classic = /^function\s*\([$_\w\d]+\)\s*\{\s*return\s+[$_\w\d]+\.([$_\w\d]+)\s*;?\s*\}$/;
var classic = /^function\s*\([$_\w\d]+\)\s*\{\s*(?:"use strict";)?\s*return\s+[$_\w\d]+\.([$_\w\d]+)\s*;?\s*\}$/;
var arrow = /^[$_\w\d]+\s*=>\s*[$_\w\d]+\.([$_\w\d]+)$/;
var match = classic.exec(fn) || arrow.exec(fn);
if (match === null) {
Expand Down
2 changes: 1 addition & 1 deletion dist/native-modules/validation-controller-factory.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Container } from 'aurelia-dependency-injection';
*/
export declare class ValidationControllerFactory {
private container;
static inject: typeof Container[];
static get(container: Container): ValidationControllerFactory;
constructor(container: Container);
/**
* Creates a new controller and registers it in the current element's container so that it's
Expand Down
6 changes: 4 additions & 2 deletions dist/native-modules/validation-controller-factory.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Container } from 'aurelia-dependency-injection';
import { ValidationController } from './validation-controller';
/**
* Creates ValidationController instances.
Expand All @@ -7,6 +6,9 @@ export var ValidationControllerFactory = (function () {
function ValidationControllerFactory(container) {
this.container = container;
}
ValidationControllerFactory.get = function (container) {
return new ValidationControllerFactory(container);
};
/**
* Creates a new controller and registers it in the current element's container so that it's
* available to the validate binding behavior and renderers.
Expand All @@ -23,6 +25,6 @@ export var ValidationControllerFactory = (function () {
this.container.registerInstance(ValidationController, controller);
return controller;
};
ValidationControllerFactory.inject = [Container];
return ValidationControllerFactory;
}());
ValidationControllerFactory['protocol:aurelia:resolver'] = true;
2 changes: 1 addition & 1 deletion dist/system/implementation/validation-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ System.register(['aurelia-binding', 'aurelia-templating', './util', 'aurelia-log
return expression;
};
ValidationParser.prototype.getAccessorExpression = function (fn) {
var classic = /^function\s*\([$_\w\d]+\)\s*\{\s*return\s+[$_\w\d]+\.([$_\w\d]+)\s*;?\s*\}$/;
var classic = /^function\s*\([$_\w\d]+\)\s*\{\s*(?:"use strict";)?\s*return\s+[$_\w\d]+\.([$_\w\d]+)\s*;?\s*\}$/;
var arrow = /^[$_\w\d]+\s*=>\s*[$_\w\d]+\.([$_\w\d]+)$/;
var match = classic.exec(fn) || arrow.exec(fn);
if (match === null) {
Expand Down
2 changes: 1 addition & 1 deletion dist/system/validation-controller-factory.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Container } from 'aurelia-dependency-injection';
*/
export declare class ValidationControllerFactory {
private container;
static inject: typeof Container[];
static get(container: Container): ValidationControllerFactory;
constructor(container: Container);
/**
* Creates a new controller and registers it in the current element's container so that it's
Expand Down
12 changes: 6 additions & 6 deletions dist/system/validation-controller-factory.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
System.register(['aurelia-dependency-injection', './validation-controller'], function(exports_1, context_1) {
System.register(['./validation-controller'], function(exports_1, context_1) {
"use strict";
var __moduleName = context_1 && context_1.id;
var aurelia_dependency_injection_1, validation_controller_1;
var validation_controller_1;
var ValidationControllerFactory;
return {
setters:[
function (aurelia_dependency_injection_1_1) {
aurelia_dependency_injection_1 = aurelia_dependency_injection_1_1;
},
function (validation_controller_1_1) {
validation_controller_1 = validation_controller_1_1;
}],
Expand All @@ -19,6 +16,9 @@ System.register(['aurelia-dependency-injection', './validation-controller'], fun
function ValidationControllerFactory(container) {
this.container = container;
}
ValidationControllerFactory.get = function (container) {
return new ValidationControllerFactory(container);
};
/**
* Creates a new controller and registers it in the current element's container so that it's
* available to the validate binding behavior and renderers.
Expand All @@ -35,10 +35,10 @@ System.register(['aurelia-dependency-injection', './validation-controller'], fun
this.container.registerInstance(validation_controller_1.ValidationController, controller);
return controller;
};
ValidationControllerFactory.inject = [aurelia_dependency_injection_1.Container];
return ValidationControllerFactory;
}());
exports_1("ValidationControllerFactory", ValidationControllerFactory);
ValidationControllerFactory['protocol:aurelia:resolver'] = true;
}
}
});
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": "0.12.4",
"version": "0.12.5",
"description": "Validation for Aurelia applications",
"keywords": [
"aurelia",
Expand Down

0 comments on commit 7b13300

Please sign in to comment.