Skip to content

Commit

Permalink
chore(all): prepare release 1.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Jul 3, 2018
1 parent 38f9dc4 commit e83bd1b
Show file tree
Hide file tree
Showing 17 changed files with 9,439 additions and 47 deletions.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-templating-router",
"version": "1.3.1",
"version": "1.3.2",
"description": "An implementation of the RouteLoader interface for use with the router module. Also contains a custom element that allows the templating engine to display the current route.",
"keywords": [
"aurelia",
Expand All @@ -26,6 +26,6 @@
"aurelia-pal": "^1.3.0",
"aurelia-path": "^1.0.0",
"aurelia-router": "^1.5.0",
"aurelia-templating": "^1.5.0"
"aurelia-templating": "^1.8.1"
}
}
4 changes: 2 additions & 2 deletions dist/amd/aurelia-templating-router.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define(['exports', 'aurelia-pal', 'aurelia-router', './route-loader', './router-view', './route-href'], function (exports, _aureliaPal, _aureliaRouter, _routeLoader, _routerView, _routeHref) {
define(['exports', 'aurelia-router', './route-loader', './router-view', './route-href'], function (exports, _aureliaRouter, _routeLoader, _routerView, _routeHref) {
'use strict';

Object.defineProperty(exports, "__esModule", {
Expand All @@ -8,7 +8,7 @@ define(['exports', 'aurelia-pal', 'aurelia-router', './route-loader', './router-


function configure(config) {
config.singleton(_aureliaRouter.RouteLoader, _routeLoader.TemplatingRouteLoader).singleton(_aureliaRouter.Router, _aureliaRouter.AppRouter).globalResources(_aureliaPal.PLATFORM.moduleName('./router-view'), _aureliaPal.PLATFORM.moduleName('./route-href'));
config.singleton(_aureliaRouter.RouteLoader, _routeLoader.TemplatingRouteLoader).singleton(_aureliaRouter.Router, _aureliaRouter.AppRouter).globalResources(_routerView.RouterView, _routeHref.RouteHref);

config.container.registerAlias(_aureliaRouter.Router, _aureliaRouter.AppRouter);
}
Expand Down
2 changes: 0 additions & 2 deletions dist/amd/route-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-templating', 'aureli
viewModel = (0, _aureliaPath.relativeToFile)(config.moduleId, _aureliaMetadata.Origin.get(router.container.viewModel.constructor).moduleId);
}

config = config || {};

var instruction = {
viewModel: viewModel,
childContainer: childContainer,
Expand Down
2 changes: 0 additions & 2 deletions dist/aurelia-templating-router.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,6 @@ export class TemplatingRouteLoader extends RouteLoader {
viewModel = relativeToFile(config.moduleId, Origin.get(router.container.viewModel.constructor).moduleId);
}

config = config || {};

let instruction = {
viewModel: viewModel,
childContainer: childContainer,
Expand Down
4 changes: 1 addition & 3 deletions dist/commonjs/aurelia-templating-router.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ Object.defineProperty(exports, "__esModule", {
});
exports.configure = exports.RouteHref = exports.RouterView = exports.TemplatingRouteLoader = undefined;

var _aureliaPal = require('aurelia-pal');

var _aureliaRouter = require('aurelia-router');

var _routeLoader = require('./route-loader');
Expand All @@ -16,7 +14,7 @@ var _routerView = require('./router-view');
var _routeHref = require('./route-href');

function configure(config) {
config.singleton(_aureliaRouter.RouteLoader, _routeLoader.TemplatingRouteLoader).singleton(_aureliaRouter.Router, _aureliaRouter.AppRouter).globalResources(_aureliaPal.PLATFORM.moduleName('./router-view'), _aureliaPal.PLATFORM.moduleName('./route-href'));
config.singleton(_aureliaRouter.RouteLoader, _routeLoader.TemplatingRouteLoader).singleton(_aureliaRouter.Router, _aureliaRouter.AppRouter).globalResources(_routerView.RouterView, _routeHref.RouteHref);

config.container.registerAlias(_aureliaRouter.Router, _aureliaRouter.AppRouter);
}
Expand Down
2 changes: 0 additions & 2 deletions dist/commonjs/route-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ var TemplatingRouteLoader = exports.TemplatingRouteLoader = (_dec2 = (0, _aureli
viewModel = (0, _aureliaPath.relativeToFile)(config.moduleId, _aureliaMetadata.Origin.get(router.container.viewModel.constructor).moduleId);
}

config = config || {};

var instruction = {
viewModel: viewModel,
childContainer: childContainer,
Expand Down
3 changes: 1 addition & 2 deletions dist/es2015/aurelia-templating-router.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import { PLATFORM } from 'aurelia-pal';
import { Router, AppRouter, RouteLoader } from 'aurelia-router';
import { TemplatingRouteLoader } from './route-loader';
import { RouterView } from './router-view';
import { RouteHref } from './route-href';

function configure(config) {
config.singleton(RouteLoader, TemplatingRouteLoader).singleton(Router, AppRouter).globalResources(PLATFORM.moduleName('./router-view'), PLATFORM.moduleName('./route-href'));
config.singleton(RouteLoader, TemplatingRouteLoader).singleton(Router, AppRouter).globalResources(RouterView, RouteHref);

config.container.registerAlias(Router, AppRouter);
}
Expand Down
2 changes: 0 additions & 2 deletions dist/es2015/route-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ export let TemplatingRouteLoader = (_dec2 = inject(CompositionEngine), _dec2(_cl
viewModel = relativeToFile(config.moduleId, Origin.get(router.container.viewModel.constructor).moduleId);
}

config = config || {};

let instruction = {
viewModel: viewModel,
childContainer: childContainer,
Expand Down
3 changes: 1 addition & 2 deletions dist/native-modules/aurelia-templating-router.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import { PLATFORM } from 'aurelia-pal';
import { Router, AppRouter, RouteLoader } from 'aurelia-router';
import { TemplatingRouteLoader } from './route-loader';
import { RouterView } from './router-view';
import { RouteHref } from './route-href';

function configure(config) {
config.singleton(RouteLoader, TemplatingRouteLoader).singleton(Router, AppRouter).globalResources(PLATFORM.moduleName('./router-view'), PLATFORM.moduleName('./route-href'));
config.singleton(RouteLoader, TemplatingRouteLoader).singleton(Router, AppRouter).globalResources(RouterView, RouteHref);

config.container.registerAlias(Router, AppRouter);
}
Expand Down
2 changes: 0 additions & 2 deletions dist/native-modules/route-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ export var TemplatingRouteLoader = (_dec2 = inject(CompositionEngine), _dec2(_cl
viewModel = relativeToFile(config.moduleId, Origin.get(router.container.viewModel.constructor).moduleId);
}

config = config || {};

var instruction = {
viewModel: viewModel,
childContainer: childContainer,
Expand Down
10 changes: 4 additions & 6 deletions dist/system/aurelia-templating-router.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
'use strict';

System.register(['aurelia-pal', 'aurelia-router', './route-loader', './router-view', './route-href'], function (_export, _context) {
System.register(['aurelia-router', './route-loader', './router-view', './route-href'], function (_export, _context) {
"use strict";

var PLATFORM, Router, AppRouter, RouteLoader, TemplatingRouteLoader, RouterView, RouteHref;
var Router, AppRouter, RouteLoader, TemplatingRouteLoader, RouterView, RouteHref;


function configure(config) {
config.singleton(RouteLoader, TemplatingRouteLoader).singleton(Router, AppRouter).globalResources(PLATFORM.moduleName('./router-view'), PLATFORM.moduleName('./route-href'));
config.singleton(RouteLoader, TemplatingRouteLoader).singleton(Router, AppRouter).globalResources(RouterView, RouteHref);

config.container.registerAlias(Router, AppRouter);
}

return {
setters: [function (_aureliaPal) {
PLATFORM = _aureliaPal.PLATFORM;
}, function (_aureliaRouter) {
setters: [function (_aureliaRouter) {
Router = _aureliaRouter.Router;
AppRouter = _aureliaRouter.AppRouter;
RouteLoader = _aureliaRouter.RouteLoader;
Expand Down
2 changes: 0 additions & 2 deletions dist/system/route-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ System.register(['aurelia-dependency-injection', 'aurelia-templating', 'aurelia-
viewModel = relativeToFile(config.moduleId, Origin.get(router.container.viewModel.constructor).moduleId);
}

config = config || {};

var instruction = {
viewModel: viewModel,
childContainer: childContainer,
Expand Down
2 changes: 0 additions & 2 deletions dist/temp/aurelia-templating-router.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,6 @@ var TemplatingRouteLoader = exports.TemplatingRouteLoader = (_dec9 = (0, _aureli
viewModel = (0, _aureliaPath.relativeToFile)(config.moduleId, _aureliaMetadata.Origin.get(router.container.viewModel.constructor).moduleId);
}

config = config || {};

var instruction = {
viewModel: viewModel,
childContainer: childContainer,
Expand Down
5 changes: 5 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<a name="1.3.2"></a>
## [1.3.2](https://github.com/aurelia/templating-router/compare/1.3.1...1.3.2) (2018-07-03)

* Update dependencies and leverate new framework configuration APIs.

<a name="1.3.0"></a>
# [1.3.0](https://github.com/aurelia/templating-router/compare/1.2.0...1.3.0) (2018-01-15)

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

Large diffs are not rendered by default.

Loading

0 comments on commit e83bd1b

Please sign in to comment.