Skip to content

Commit

Permalink
chore(all): prepare release 1.0.0-beta.1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Mar 1, 2016
1 parent 12879fa commit 8fbefc4
Show file tree
Hide file tree
Showing 13 changed files with 54 additions and 34 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-route-recognizer",
"version": "1.0.0-beta.1.1.1",
"version": "1.0.0-beta.1.1.2",
"description": "A lightweight JavaScript library that matches paths against registered routes. It includes support for dynamic and star segments and nested handlers.",
"keywords": [
"aurelia",
Expand Down
1 change: 0 additions & 1 deletion dist/amd/aurelia-route-recognizer.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
declare module 'aurelia-route-recognizer' {
import 'core-js';
import { buildQueryString, parseQueryString } from 'aurelia-path';
export interface RouteHandler {
name: string;
Expand Down
13 changes: 8 additions & 5 deletions dist/amd/aurelia-route-recognizer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define(['exports', 'core-js', 'aurelia-path'], function (exports, _coreJs, _aureliaPath) {
define(['exports', 'aurelia-path'], function (exports, _aureliaPath) {
'use strict';

exports.__esModule = true;
Expand Down Expand Up @@ -243,10 +243,13 @@ define(['exports', 'core-js', 'aurelia-path'], function (exports, _coreJs, _aure
var handlers = [{ handler: route.handler, names: names }];

if (routeName) {
this.names[routeName] = {
segments: segments,
handlers: handlers
};
var routeNames = Array.isArray(routeName) ? routeName : [routeName];
for (var i = 0; i < routeNames.length; i++) {
this.names[routeNames[i]] = {
segments: segments,
handlers: handlers
};
}
}

currentState.handlers = handlers;
Expand Down
1 change: 0 additions & 1 deletion dist/aurelia-route-recognizer.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
declare module 'aurelia-route-recognizer' {
import 'core-js';
import { buildQueryString, parseQueryString } from 'aurelia-path';
export interface RouteHandler {
name: string;
Expand Down
12 changes: 7 additions & 5 deletions dist/aurelia-route-recognizer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'core-js';
import {buildQueryString,parseQueryString} from 'aurelia-path';

// A State has a character specification and (`charSpec`) and a list of possible
Expand Down Expand Up @@ -262,10 +261,13 @@ export class RouteRecognizer {
let handlers = [{ handler: route.handler, names: names }];

if (routeName) {
this.names[routeName] = {
segments: segments,
handlers: handlers
};
let routeNames = Array.isArray(routeName) ? routeName : [routeName];
for (let i = 0; i < routeNames.length; i++) {
this.names[routeNames[i]] = {
segments: segments,
handlers: handlers
};
}
}

currentState.handlers = handlers;
Expand Down
1 change: 0 additions & 1 deletion dist/commonjs/aurelia-route-recognizer.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
declare module 'aurelia-route-recognizer' {
import 'core-js';
import { buildQueryString, parseQueryString } from 'aurelia-path';
export interface RouteHandler {
name: string;
Expand Down
13 changes: 7 additions & 6 deletions dist/commonjs/aurelia-route-recognizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ exports.__esModule = true;

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }

require('core-js');

var _aureliaPath = require('aurelia-path');

var State = (function () {
Expand Down Expand Up @@ -246,10 +244,13 @@ var RouteRecognizer = (function () {
var handlers = [{ handler: route.handler, names: names }];

if (routeName) {
this.names[routeName] = {
segments: segments,
handlers: handlers
};
var routeNames = Array.isArray(routeName) ? routeName : [routeName];
for (var i = 0; i < routeNames.length; i++) {
this.names[routeNames[i]] = {
segments: segments,
handlers: handlers
};
}
}

currentState.handlers = handlers;
Expand Down
1 change: 0 additions & 1 deletion dist/es6/aurelia-route-recognizer.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
declare module 'aurelia-route-recognizer' {
import 'core-js';
import { buildQueryString, parseQueryString } from 'aurelia-path';
export interface RouteHandler {
name: string;
Expand Down
12 changes: 7 additions & 5 deletions dist/es6/aurelia-route-recognizer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'core-js';
import {buildQueryString,parseQueryString} from 'aurelia-path';

// A State has a character specification and (`charSpec`) and a list of possible
Expand Down Expand Up @@ -262,10 +261,13 @@ export class RouteRecognizer {
let handlers = [{ handler: route.handler, names: names }];

if (routeName) {
this.names[routeName] = {
segments: segments,
handlers: handlers
};
let routeNames = Array.isArray(routeName) ? routeName : [routeName];
for (let i = 0; i < routeNames.length; i++) {
this.names[routeNames[i]] = {
segments: segments,
handlers: handlers
};
}
}

currentState.handlers = handlers;
Expand Down
1 change: 0 additions & 1 deletion dist/system/aurelia-route-recognizer.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
declare module 'aurelia-route-recognizer' {
import 'core-js';
import { buildQueryString, parseQueryString } from 'aurelia-path';
export interface RouteHandler {
name: string;
Expand Down
15 changes: 9 additions & 6 deletions dist/system/aurelia-route-recognizer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
System.register(['core-js', 'aurelia-path'], function (_export) {
System.register(['aurelia-path'], function (_export) {
'use strict';

var buildQueryString, parseQueryString, State, specials, escapeRegex, StaticSegment, DynamicSegment, StarSegment, EpsilonSegment, RouteRecognizer, RecognizeResults;
Expand Down Expand Up @@ -120,7 +120,7 @@ System.register(['core-js', 'aurelia-path'], function (_export) {
return state;
}
return {
setters: [function (_coreJs) {}, function (_aureliaPath) {
setters: [function (_aureliaPath) {
buildQueryString = _aureliaPath.buildQueryString;
parseQueryString = _aureliaPath.parseQueryString;
}],
Expand Down Expand Up @@ -362,10 +362,13 @@ System.register(['core-js', 'aurelia-path'], function (_export) {
var handlers = [{ handler: route.handler, names: names }];

if (routeName) {
this.names[routeName] = {
segments: segments,
handlers: handlers
};
var routeNames = Array.isArray(routeName) ? routeName : [routeName];
for (var i = 0; i < routeNames.length; i++) {
this.names[routeNames[i]] = {
segments: segments,
handlers: handlers
};
}
}

currentState.handlers = handlers;
Expand Down
14 changes: 14 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
### 1.0.0-beta.1.1.2 (2016-03-01)


#### Bug Fixes

* **all:** remove core-js dependency ([7f97b087](http://github.com/aurelia/route-recognizer/commit/7f97b08711f0b89e86b9a09d399f6e026685c200))
* **bower:** remove core-js ([12879fa7](http://github.com/aurelia/route-recognizer/commit/12879fa754cc0b0503e066b84bc234b9ab9863cb))


#### Features

* **route-recognizer:** Support multiple names per route ([6b5637d2](http://github.com/aurelia/route-recognizer/commit/6b5637d296af90127dd293d975592c7e62182a2f))


### 1.0.0-beta.1.1.1 (2016-02-08)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-route-recognizer",
"version": "1.0.0-beta.1.1.1",
"version": "1.0.0-beta.1.1.2",
"description": "A lightweight JavaScript library that matches paths against registered routes. It includes support for dynamic and star segments and nested handlers.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit 8fbefc4

Please sign in to comment.