Skip to content

Commit 81d85bf

Browse files
chore(all): prepare release 0.12.0
1 parent 40ca0c4 commit 81d85bf

15 files changed

+164
-197
lines changed

bower.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aurelia-framework",
3-
"version": "0.11.0",
3+
"version": "0.12.0",
44
"description": "The aurelia framework brings together all the required core aurelia libraries into a ready-to-go application-building platform.",
55
"keywords": [
66
"aurelia",
@@ -17,14 +17,14 @@
1717
"url": "http://github.com/aurelia/framework"
1818
},
1919
"dependencies": {
20-
"aurelia-binding": "^0.6.0",
21-
"aurelia-dependency-injection": "^0.7.0",
22-
"aurelia-loader": "^0.6.0",
23-
"aurelia-logging": "^0.4.0",
24-
"aurelia-metadata": "^0.5.0",
25-
"aurelia-path": "^0.6.0",
26-
"aurelia-task-queue": "^0.4.0",
27-
"aurelia-templating": "^0.11.0",
20+
"aurelia-binding": "^0.7.0",
21+
"aurelia-dependency-injection": "^0.8.1",
22+
"aurelia-loader": "^0.7.0",
23+
"aurelia-logging": "^0.5.0",
24+
"aurelia-metadata": "^0.6.0",
25+
"aurelia-path": "^0.7.0",
26+
"aurelia-task-queue": "^0.5.0",
27+
"aurelia-templating": "^0.12.0",
2828
"core-js": "zloirock/core-js"
2929
}
3030
}

config.js

Lines changed: 37 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -16,53 +16,55 @@ System.config({
1616

1717
System.config({
1818
"map": {
19-
"aurelia-binding": "github:aurelia/binding@0.6.0",
20-
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.7.0",
21-
"aurelia-loader": "github:aurelia/loader@0.6.0",
22-
"aurelia-logging": "github:aurelia/logging@0.4.0",
23-
"aurelia-metadata": "github:aurelia/metadata@0.5.0",
24-
"aurelia-path": "github:aurelia/path@0.6.0",
25-
"aurelia-task-queue": "github:aurelia/task-queue@0.4.0",
26-
"aurelia-templating": "github:aurelia/templating@0.11.0",
19+
"aurelia-binding": "github:aurelia/binding@0.7.0",
20+
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.8.1",
21+
"aurelia-loader": "github:aurelia/loader@0.7.0",
22+
"aurelia-logging": "github:aurelia/logging@0.5.0",
23+
"aurelia-metadata": "github:aurelia/metadata@0.6.0",
24+
"aurelia-path": "github:aurelia/path@0.7.0",
25+
"aurelia-task-queue": "github:aurelia/task-queue@0.5.0",
26+
"aurelia-templating": "github:aurelia/templating@0.12.0",
2727
"babel": "npm:babel-core@5.2.2",
2828
"babel-runtime": "npm:babel-runtime@5.2.2",
29-
"core-js": "npm:core-js@0.9.5",
30-
"github:aurelia/binding@0.6.0": {
31-
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.7.0",
32-
"aurelia-metadata": "github:aurelia/metadata@0.5.0",
33-
"aurelia-task-queue": "github:aurelia/task-queue@0.4.0",
34-
"core-js": "npm:core-js@0.9.5"
29+
"core-js": "npm:core-js@0.9.15",
30+
"github:aurelia/binding@0.7.0": {
31+
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.8.1",
32+
"aurelia-metadata": "github:aurelia/metadata@0.6.0",
33+
"aurelia-task-queue": "github:aurelia/task-queue@0.5.0",
34+
"core-js": "npm:core-js@0.9.15"
3535
},
36-
"github:aurelia/dependency-injection@0.7.0": {
37-
"aurelia-logging": "github:aurelia/logging@0.4.0",
38-
"aurelia-metadata": "github:aurelia/metadata@0.5.0",
39-
"core-js": "npm:core-js@0.9.5"
36+
"github:aurelia/dependency-injection@0.8.1": {
37+
"aurelia-logging": "github:aurelia/logging@0.5.0",
38+
"aurelia-metadata": "github:aurelia/metadata@0.6.0",
39+
"core-js": "npm:core-js@0.9.15"
4040
},
41-
"github:aurelia/loader@0.6.0": {
41+
"github:aurelia/loader@0.7.0": {
4242
"aurelia-html-template-element": "github:aurelia/html-template-element@0.2.0",
43-
"aurelia-path": "github:aurelia/path@0.6.0",
44-
"core-js": "npm:core-js@0.9.5",
45-
"webcomponentsjs": "github:webcomponents/webcomponentsjs@0.6.1"
43+
"aurelia-path": "github:aurelia/path@0.7.0",
44+
"core-js": "npm:core-js@0.9.15",
45+
"webcomponentsjs": "github:webcomponents/webcomponentsjs@0.6.3"
4646
},
47-
"github:aurelia/metadata@0.5.0": {
48-
"core-js": "npm:core-js@0.9.5"
47+
"github:aurelia/metadata@0.6.0": {
48+
"core-js": "npm:core-js@0.9.15"
4949
},
50-
"github:aurelia/templating@0.11.0": {
51-
"aurelia-binding": "github:aurelia/binding@0.6.0",
52-
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.7.0",
50+
"github:aurelia/templating@0.12.0": {
51+
"aurelia-binding": "github:aurelia/binding@0.7.0",
52+
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.8.1",
5353
"aurelia-html-template-element": "github:aurelia/html-template-element@0.2.0",
54-
"aurelia-loader": "github:aurelia/loader@0.6.0",
55-
"aurelia-logging": "github:aurelia/logging@0.4.0",
56-
"aurelia-metadata": "github:aurelia/metadata@0.5.0",
57-
"aurelia-path": "github:aurelia/path@0.6.0",
58-
"aurelia-task-queue": "github:aurelia/task-queue@0.4.0",
59-
"core-js": "npm:core-js@0.9.5"
54+
"aurelia-loader": "github:aurelia/loader@0.7.0",
55+
"aurelia-logging": "github:aurelia/logging@0.5.0",
56+
"aurelia-metadata": "github:aurelia/metadata@0.6.0",
57+
"aurelia-path": "github:aurelia/path@0.7.0",
58+
"aurelia-task-queue": "github:aurelia/task-queue@0.5.0",
59+
"core-js": "npm:core-js@0.9.15"
6060
},
6161
"github:jspm/nodelibs-process@0.1.1": {
6262
"process": "npm:process@0.10.1"
6363
},
64-
"npm:core-js@0.9.5": {
65-
"process": "github:jspm/nodelibs-process@0.1.1"
64+
"npm:core-js@0.9.15": {
65+
"fs": "github:jspm/nodelibs-fs@0.1.2",
66+
"process": "github:jspm/nodelibs-process@0.1.1",
67+
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
6668
}
6769
}
6870
});

dist/amd/aurelia.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
define(['exports', 'core-js', 'aurelia-logging', 'aurelia-dependency-injection', 'aurelia-loader', 'aurelia-path', './plugins', 'aurelia-templating'], function (exports, _coreJs, _aureliaLogging, _aureliaDependencyInjection, _aureliaLoader, _aureliaPath, _plugins, _aureliaTemplating) {
22
'use strict';
33

4-
var _interopRequire = function (obj) { return obj && obj.__esModule ? obj['default'] : obj; };
4+
exports.__esModule = true;
55

6-
var _classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } };
6+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
77

8-
exports.__esModule = true;
8+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
99

10-
var _core = _interopRequire(_coreJs);
10+
var _core = _interopRequireDefault(_coreJs);
1111

1212
var logger = _aureliaLogging.getLogger('aurelia'),
1313
slice = Array.prototype.slice;
@@ -94,7 +94,7 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-dependency-injection',
9494
throw new Error('Invalid resource path [' + resource + ']. Resources must be specified as relative module IDs.');
9595
}
9696

97-
path = internalPlugin ? _aureliaPath.relativeToFile(resource, pluginPath) : _aureliaPath.join(pluginPath, resource);
97+
path = internalPlugin ? (0, _aureliaPath.relativeToFile)(resource, pluginPath) : (0, _aureliaPath.join)(pluginPath, resource);
9898

9999
this.resourcesToLoad[path] = this.resourcesToLoad[path];
100100
}
@@ -157,13 +157,13 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-dependency-injection',
157157
}
158158

159159
this.host.aurelia = this;
160-
this.container.registerInstance(Element, this.host);
161160

162161
compositionEngine = this.container.get(_aureliaTemplating.CompositionEngine);
163162
instruction.viewModel = root;
164163
instruction.container = instruction.childContainer = this.container;
165164
instruction.viewSlot = new _aureliaTemplating.ViewSlot(this.host, true);
166165
instruction.viewSlot.transformChildNodesIntoView();
166+
instruction.host = this.host;
167167

168168
return compositionEngine.compose(instruction).then(function (root) {
169169
_this2.root = root;

dist/amd/index.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
define(['exports', 'aurelia-logging', './aurelia', 'aurelia-dependency-injection', 'aurelia-binding', 'aurelia-metadata', 'aurelia-templating', 'aurelia-loader', 'aurelia-task-queue'], function (exports, _aureliaLogging, _aurelia, _aureliaDependencyInjection, _aureliaBinding, _aureliaMetadata, _aureliaTemplating, _aureliaLoader, _aureliaTaskQueue) {
1+
define(['exports', 'aurelia-logging', './aurelia', 'aurelia-dependency-injection', 'aurelia-binding', 'aurelia-metadata', 'aurelia-templating', 'aurelia-loader', 'aurelia-task-queue', 'aurelia-path'], function (exports, _aureliaLogging, _aurelia, _aureliaDependencyInjection, _aureliaBinding, _aureliaMetadata, _aureliaTemplating, _aureliaLoader, _aureliaTaskQueue, _aureliaPath) {
22
'use strict';
33

4-
var _interopRequireWildcard = function (obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (typeof obj === 'object' && obj !== null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj['default'] = obj; return newObj; } };
4+
exports.__esModule = true;
55

6-
var _defaults = function (obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; };
6+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj['default'] = obj; return newObj; } }
7+
8+
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
79

8-
exports.__esModule = true;
910
exports.Aurelia = _aurelia.Aurelia;
1011

1112
_defaults(exports, _interopRequireWildcard(_aureliaDependencyInjection));
@@ -20,6 +21,8 @@ define(['exports', 'aurelia-logging', './aurelia', 'aurelia-dependency-injection
2021

2122
_defaults(exports, _interopRequireWildcard(_aureliaTaskQueue));
2223

24+
_defaults(exports, _interopRequireWildcard(_aureliaPath));
25+
2326
var LogManager = _aureliaLogging;
2427
exports.LogManager = LogManager;
2528
});

dist/amd/plugins.js

Lines changed: 8 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
define(['exports', 'core-js', 'aurelia-logging', 'aurelia-metadata'], function (exports, _coreJs, _aureliaLogging, _aureliaMetadata) {
22
'use strict';
33

4-
var _interopRequire = function (obj) { return obj && obj.__esModule ? obj['default'] : obj; };
4+
exports.__esModule = true;
55

6-
var _classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } };
6+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
77

8-
exports.__esModule = true;
8+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
99

10-
var _core = _interopRequire(_coreJs);
10+
var _core = _interopRequireDefault(_coreJs);
1111

1212
var logger = _aureliaLogging.getLogger('aurelia');
1313

@@ -37,17 +37,7 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-metadata'], function (
3737
this.processed = false;
3838
}
3939

40-
Plugins.prototype.plugin = (function (_plugin) {
41-
function plugin(_x, _x2) {
42-
return _plugin.apply(this, arguments);
43-
}
44-
45-
plugin.toString = function () {
46-
return _plugin.toString();
47-
};
48-
49-
return plugin;
50-
})(function (moduleId, config) {
40+
Plugins.prototype.plugin = function plugin(moduleId, config) {
5141
var plugin = { moduleId: moduleId, config: config || {} };
5242

5343
if (this.processed) {
@@ -57,7 +47,7 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-metadata'], function (
5747
}
5848

5949
return this;
60-
});
50+
};
6151

6252
Plugins.prototype._process = function _process() {
6353
var _this = this;
@@ -71,24 +61,14 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-metadata'], function (
7161
return;
7262
}
7363

74-
var next = (function (_next) {
75-
function next() {
76-
return _next.apply(this, arguments);
77-
}
78-
79-
next.toString = function () {
80-
return _next.toString();
81-
};
82-
83-
return next;
84-
})(function () {
64+
var next = function next() {
8565
if (current = info.shift()) {
8666
return loadPlugin(aurelia, loader, current).then(next);
8767
}
8868

8969
_this.processed = true;
9070
return Promise.resolve();
91-
});
71+
};
9272

9373
return next();
9474
};

dist/commonjs/aurelia.js

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
'use strict';
22

3-
var _interopRequireWildcard = function (obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (typeof obj === 'object' && obj !== null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj['default'] = obj; return newObj; } };
3+
exports.__esModule = true;
44

5-
var _interopRequireDefault = function (obj) { return obj && obj.__esModule ? obj : { 'default': obj }; };
5+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj['default'] = obj; return newObj; } }
66

7-
var _classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } };
7+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
88

9-
exports.__esModule = true;
9+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
1010

11-
var _core = require('core-js');
11+
var _coreJs = require('core-js');
1212

13-
var _core2 = _interopRequireDefault(_core);
13+
var _coreJs2 = _interopRequireDefault(_coreJs);
1414

15-
var _import = require('aurelia-logging');
15+
var _aureliaLogging = require('aurelia-logging');
1616

17-
var LogManager = _interopRequireWildcard(_import);
17+
var LogManager = _interopRequireWildcard(_aureliaLogging);
1818

19-
var _Container = require('aurelia-dependency-injection');
19+
var _aureliaDependencyInjection = require('aurelia-dependency-injection');
2020

21-
var _Loader = require('aurelia-loader');
21+
var _aureliaLoader = require('aurelia-loader');
2222

23-
var _join$relativeToFile = require('aurelia-path');
23+
var _aureliaPath = require('aurelia-path');
2424

25-
var _Plugins = require('./plugins');
25+
var _plugins = require('./plugins');
2626

27-
var _BindingLanguage$ViewEngine$ViewSlot$ResourceRegistry$CompositionEngine$Animator = require('aurelia-templating');
27+
var _aureliaTemplating = require('aurelia-templating');
2828

2929
var logger = LogManager.getLogger('aurelia'),
3030
slice = Array.prototype.slice;
@@ -58,7 +58,7 @@ function preventActionlessFormSubmit() {
5858
}
5959

6060
function loadResources(container, resourcesToLoad, appResources) {
61-
var viewEngine = container.get(_BindingLanguage$ViewEngine$ViewSlot$ResourceRegistry$CompositionEngine$Animator.ViewEngine),
61+
var viewEngine = container.get(_aureliaTemplating.ViewEngine),
6262
importIds = Object.keys(resourcesToLoad),
6363
names = new Array(importIds.length),
6464
i,
@@ -76,14 +76,14 @@ var Aurelia = (function () {
7676
_classCallCheck(this, Aurelia);
7777

7878
this.loader = loader || new window.AureliaLoader();
79-
this.container = container || new _Container.Container();
80-
this.resources = resources || new _BindingLanguage$ViewEngine$ViewSlot$ResourceRegistry$CompositionEngine$Animator.ResourceRegistry();
81-
this.use = new _Plugins.Plugins(this);
79+
this.container = container || new _aureliaDependencyInjection.Container();
80+
this.resources = resources || new _aureliaTemplating.ResourceRegistry();
81+
this.use = new _plugins.Plugins(this);
8282
this.resourcesToLoad = {};
8383

8484
this.withInstance(Aurelia, this);
85-
this.withInstance(_Loader.Loader, this.loader);
86-
this.withInstance(_BindingLanguage$ViewEngine$ViewSlot$ResourceRegistry$CompositionEngine$Animator.ResourceRegistry, this.resources);
85+
this.withInstance(_aureliaLoader.Loader, this.loader);
86+
this.withInstance(_aureliaTemplating.ResourceRegistry, this.resources);
8787
}
8888

8989
Aurelia.prototype.withInstance = function withInstance(type, instance) {
@@ -111,7 +111,7 @@ var Aurelia = (function () {
111111
throw new Error('Invalid resource path [' + resource + ']. Resources must be specified as relative module IDs.');
112112
}
113113

114-
path = internalPlugin ? _join$relativeToFile.relativeToFile(resource, pluginPath) : _join$relativeToFile.join(pluginPath, resource);
114+
path = internalPlugin ? (0, _aureliaPath.relativeToFile)(resource, pluginPath) : (0, _aureliaPath.join)(pluginPath, resource);
115115

116116
this.resourcesToLoad[path] = this.resourcesToLoad[path];
117117
}
@@ -137,14 +137,14 @@ var Aurelia = (function () {
137137
preventActionlessFormSubmit();
138138

139139
return this.use._process().then(function () {
140-
if (!_this.container.hasHandler(_BindingLanguage$ViewEngine$ViewSlot$ResourceRegistry$CompositionEngine$Animator.BindingLanguage)) {
140+
if (!_this.container.hasHandler(_aureliaTemplating.BindingLanguage)) {
141141
var message = 'You must configure Aurelia with a BindingLanguage implementation.';
142142
logger.error(message);
143143
throw new Error(message);
144144
}
145145

146-
if (!_this.container.hasHandler(_BindingLanguage$ViewEngine$ViewSlot$ResourceRegistry$CompositionEngine$Animator.Animator)) {
147-
_BindingLanguage$ViewEngine$ViewSlot$ResourceRegistry$CompositionEngine$Animator.Animator.configureDefault(_this.container);
146+
if (!_this.container.hasHandler(_aureliaTemplating.Animator)) {
147+
_aureliaTemplating.Animator.configureDefault(_this.container);
148148
}
149149

150150
return loadResources(_this.container, _this.resourcesToLoad, _this.resources).then(function () {
@@ -174,13 +174,13 @@ var Aurelia = (function () {
174174
}
175175

176176
this.host.aurelia = this;
177-
this.container.registerInstance(Element, this.host);
178177

179-
compositionEngine = this.container.get(_BindingLanguage$ViewEngine$ViewSlot$ResourceRegistry$CompositionEngine$Animator.CompositionEngine);
178+
compositionEngine = this.container.get(_aureliaTemplating.CompositionEngine);
180179
instruction.viewModel = root;
181180
instruction.container = instruction.childContainer = this.container;
182-
instruction.viewSlot = new _BindingLanguage$ViewEngine$ViewSlot$ResourceRegistry$CompositionEngine$Animator.ViewSlot(this.host, true);
181+
instruction.viewSlot = new _aureliaTemplating.ViewSlot(this.host, true);
183182
instruction.viewSlot.transformChildNodesIntoView();
183+
instruction.host = this.host;
184184

185185
return compositionEngine.compose(instruction).then(function (root) {
186186
_this2.root = root;

0 commit comments

Comments
 (0)