Skip to content

Commit 9ae584f

Browse files
chore(all): prepare release 0.8.6
1 parent 3746368 commit 9ae584f

File tree

12 files changed

+84
-149
lines changed

12 files changed

+84
-149
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aurelia-framework",
3-
"version": "0.8.5",
3+
"version": "0.8.6",
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",

dist/amd/aurelia.js

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
define(["exports", "aurelia-logging", "aurelia-dependency-injection", "aurelia-loader", "aurelia-templating", "./plugins"], function (exports, _aureliaLogging, _aureliaDependencyInjection, _aureliaLoader, _aureliaTemplating, _plugins) {
22
"use strict";
33

4-
var _prototypeProperties = function (child, staticProps, instanceProps) {
5-
if (staticProps) Object.defineProperties(child, staticProps);
6-
if (instanceProps) Object.defineProperties(child.prototype, instanceProps);
7-
};
4+
var _prototypeProperties = function (child, staticProps, instanceProps) { if (staticProps) Object.defineProperties(child, staticProps); if (instanceProps) Object.defineProperties(child.prototype, instanceProps); };
85

96
var LogManager = _aureliaLogging;
107
var Container = _aureliaDependencyInjection.Container;
@@ -38,7 +35,10 @@ define(["exports", "aurelia-logging", "aurelia-dependency-injection", "aurelia-l
3835
}
3936

4037
function loadResources(container, resourcesToLoad, appResources) {
41-
var next = function () {
38+
var resourceCoordinator = container.get(ResourceCoordinator),
39+
current;
40+
41+
function next() {
4242
if (current = resourcesToLoad.shift()) {
4343
return resourceCoordinator.importResources(current, current.resourceManifestUrl).then(function (resources) {
4444
resources.forEach(function (x) {
@@ -49,15 +49,12 @@ define(["exports", "aurelia-logging", "aurelia-dependency-injection", "aurelia-l
4949
}
5050

5151
return Promise.resolve();
52-
};
53-
54-
var resourceCoordinator = container.get(ResourceCoordinator),
55-
current;
52+
}
5653

5754
return next();
5855
}
5956

60-
var Aurelia = (function () {
57+
var Aurelia = exports.Aurelia = (function () {
6158
function Aurelia(loader, container, resources) {
6259
this.loader = loader || Loader.createDefaultLoader();
6360
this.container = container || new Container();
@@ -81,7 +78,6 @@ define(["exports", "aurelia-logging", "aurelia-dependency-injection", "aurelia-l
8178
return this;
8279
},
8380
writable: true,
84-
enumerable: true,
8581
configurable: true
8682
},
8783
withSingleton: {
@@ -90,7 +86,6 @@ define(["exports", "aurelia-logging", "aurelia-dependency-injection", "aurelia-l
9086
return this;
9187
},
9288
writable: true,
93-
enumerable: true,
9489
configurable: true
9590
},
9691
withResources: {
@@ -101,7 +96,6 @@ define(["exports", "aurelia-logging", "aurelia-dependency-injection", "aurelia-l
10196
return this;
10297
},
10398
writable: true,
104-
enumerable: true,
10599
configurable: true
106100
},
107101
start: {
@@ -133,12 +127,11 @@ define(["exports", "aurelia-logging", "aurelia-dependency-injection", "aurelia-l
133127
});
134128
},
135129
writable: true,
136-
enumerable: true,
137130
configurable: true
138131
},
139132
setRoot: {
140133
value: function setRoot(root, applicationHost) {
141-
var _this2 = this;
134+
var _this = this;
142135
var compositionEngine,
143136
instruction = {};
144137

@@ -158,23 +151,21 @@ define(["exports", "aurelia-logging", "aurelia-dependency-injection", "aurelia-l
158151
instruction.viewSlot.transformChildNodesIntoView();
159152

160153
return compositionEngine.compose(instruction).then(function (root) {
161-
_this2.root = root;
154+
_this.root = root;
162155
instruction.viewSlot.attached();
163156
var evt = new window.CustomEvent("aurelia-composed", { bubbles: true, cancelable: true });
164157
setTimeout(function () {
165158
return document.dispatchEvent(evt);
166159
}, 1);
167-
return _this2;
160+
return _this;
168161
});
169162
},
170163
writable: true,
171-
enumerable: true,
172164
configurable: true
173165
}
174166
});
175167

176168
return Aurelia;
177169
})();
178-
179-
exports.Aurelia = Aurelia;
170+
exports.__esModule = true;
180171
});

dist/amd/index.js

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

4-
var _interopRequireWildcard = function (obj) {
5-
return obj && obj.constructor === Object ? obj : {
6-
"default": obj
7-
};
8-
};
9-
10-
var _defaults = function (obj, defaults) {
11-
for (var key in defaults) {
12-
if (obj[key] === undefined) {
13-
obj[key] = defaults[key];
14-
}
15-
}
16-
17-
return obj;
18-
};
4+
var _interopRequireWildcard = function (obj) { return obj && obj.__esModule ? obj : { "default": obj }; };
5+
6+
var _defaults = function (obj, defaults) { for (var key in defaults) { if (obj[key] === undefined) { obj[key] = defaults[key]; } } return obj; };
197

208
exports.Aurelia = _aurelia.Aurelia;
219
_defaults(exports, _interopRequireWildcard(_aureliaDependencyInjection));
@@ -32,4 +20,5 @@ define(["exports", "./aurelia", "aurelia-dependency-injection", "aurelia-binding
3220

3321
var TheLogManager = _aureliaLogging;
3422
var LogManager = exports.LogManager = TheLogManager;
23+
exports.__esModule = true;
3524
});

dist/amd/plugins.js

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

4-
var _prototypeProperties = function (child, staticProps, instanceProps) {
5-
if (staticProps) Object.defineProperties(child, staticProps);
6-
if (instanceProps) Object.defineProperties(child.prototype, instanceProps);
7-
};
4+
var _prototypeProperties = function (child, staticProps, instanceProps) { if (staticProps) Object.defineProperties(child, staticProps); if (instanceProps) Object.defineProperties(child.prototype, instanceProps); };
85

96
var LogManager = _aureliaLogging;
107
var Metadata = _aureliaMetadata.Metadata;
@@ -39,7 +36,7 @@ define(["exports", "aurelia-logging", "aurelia-metadata"], function (exports, _a
3936
});
4037
}
4138

42-
var Plugins = (function () {
39+
var Plugins = exports.Plugins = (function () {
4340
function Plugins(aurelia) {
4441
this.aurelia = aurelia;
4542
this.info = [];
@@ -60,7 +57,6 @@ define(["exports", "aurelia-logging", "aurelia-metadata"], function (exports, _a
6057
return this;
6158
},
6259
writable: true,
63-
enumerable: true,
6460
configurable: true
6561
},
6662
es5: {
@@ -76,21 +72,21 @@ define(["exports", "aurelia-logging", "aurelia-metadata"], function (exports, _a
7672
return this;
7773
},
7874
writable: true,
79-
enumerable: true,
8075
configurable: true
8176
},
8277
atscript: {
8378
value: function atscript() {
8479
this.aurelia.container.supportAtScript();
85-
Metadata.configure.location("annotate");
80+
Metadata.configure.locator(function (fn) {
81+
return fn.annotate || fn.annotations;
82+
});
8683
return this;
8784
},
8885
writable: true,
89-
enumerable: true,
9086
configurable: true
9187
},
9288
_process: {
93-
value: function Process() {
89+
value: function _process() {
9490
var _this = this;
9591
var aurelia = this.aurelia,
9692
loader = aurelia.loader,
@@ -113,13 +109,11 @@ define(["exports", "aurelia-logging", "aurelia-metadata"], function (exports, _a
113109
return next();
114110
},
115111
writable: true,
116-
enumerable: true,
117112
configurable: true
118113
}
119114
});
120115

121116
return Plugins;
122117
})();
123-
124-
exports.Plugins = Plugins;
118+
exports.__esModule = true;
125119
});

dist/commonjs/aurelia.js

Lines changed: 20 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,20 @@
11
"use strict";
22

3-
var _prototypeProperties = function (child, staticProps, instanceProps) {
4-
if (staticProps) Object.defineProperties(child, staticProps);
5-
if (instanceProps) Object.defineProperties(child.prototype, instanceProps);
6-
};
7-
8-
var _interopRequireWildcard = function (obj) {
9-
return obj && obj.constructor === Object ? obj : {
10-
"default": obj
11-
};
12-
};
3+
var _interopRequireWildcard = function (obj) { return obj && obj.__esModule ? obj : { "default": obj }; };
4+
5+
var _prototypeProperties = function (child, staticProps, instanceProps) { if (staticProps) Object.defineProperties(child, staticProps); if (instanceProps) Object.defineProperties(child.prototype, instanceProps); };
136

147
var LogManager = _interopRequireWildcard(require("aurelia-logging"));
158

169
var Container = require("aurelia-dependency-injection").Container;
1710
var Loader = require("aurelia-loader").Loader;
18-
var BindingLanguage = require("aurelia-templating").BindingLanguage;
19-
var ResourceCoordinator = require("aurelia-templating").ResourceCoordinator;
20-
var ViewSlot = require("aurelia-templating").ViewSlot;
21-
var ResourceRegistry = require("aurelia-templating").ResourceRegistry;
22-
var CompositionEngine = require("aurelia-templating").CompositionEngine;
11+
var _aureliaTemplating = require("aurelia-templating");
12+
13+
var BindingLanguage = _aureliaTemplating.BindingLanguage;
14+
var ResourceCoordinator = _aureliaTemplating.ResourceCoordinator;
15+
var ViewSlot = _aureliaTemplating.ViewSlot;
16+
var ResourceRegistry = _aureliaTemplating.ResourceRegistry;
17+
var CompositionEngine = _aureliaTemplating.CompositionEngine;
2318
var Plugins = require("./plugins").Plugins;
2419

2520

@@ -44,7 +39,10 @@ if (!window.CustomEvent || typeof window.CustomEvent !== "function") {
4439
}
4540

4641
function loadResources(container, resourcesToLoad, appResources) {
47-
var next = function () {
42+
var resourceCoordinator = container.get(ResourceCoordinator),
43+
current;
44+
45+
function next() {
4846
if (current = resourcesToLoad.shift()) {
4947
return resourceCoordinator.importResources(current, current.resourceManifestUrl).then(function (resources) {
5048
resources.forEach(function (x) {
@@ -55,15 +53,12 @@ function loadResources(container, resourcesToLoad, appResources) {
5553
}
5654

5755
return Promise.resolve();
58-
};
59-
60-
var resourceCoordinator = container.get(ResourceCoordinator),
61-
current;
56+
}
6257

6358
return next();
6459
}
6560

66-
var Aurelia = (function () {
61+
var Aurelia = exports.Aurelia = (function () {
6762
function Aurelia(loader, container, resources) {
6863
this.loader = loader || Loader.createDefaultLoader();
6964
this.container = container || new Container();
@@ -87,7 +82,6 @@ var Aurelia = (function () {
8782
return this;
8883
},
8984
writable: true,
90-
enumerable: true,
9185
configurable: true
9286
},
9387
withSingleton: {
@@ -96,7 +90,6 @@ var Aurelia = (function () {
9690
return this;
9791
},
9892
writable: true,
99-
enumerable: true,
10093
configurable: true
10194
},
10295
withResources: {
@@ -107,7 +100,6 @@ var Aurelia = (function () {
107100
return this;
108101
},
109102
writable: true,
110-
enumerable: true,
111103
configurable: true
112104
},
113105
start: {
@@ -139,12 +131,11 @@ var Aurelia = (function () {
139131
});
140132
},
141133
writable: true,
142-
enumerable: true,
143134
configurable: true
144135
},
145136
setRoot: {
146137
value: function setRoot(root, applicationHost) {
147-
var _this2 = this;
138+
var _this = this;
148139
var compositionEngine,
149140
instruction = {};
150141

@@ -164,22 +155,20 @@ var Aurelia = (function () {
164155
instruction.viewSlot.transformChildNodesIntoView();
165156

166157
return compositionEngine.compose(instruction).then(function (root) {
167-
_this2.root = root;
158+
_this.root = root;
168159
instruction.viewSlot.attached();
169160
var evt = new window.CustomEvent("aurelia-composed", { bubbles: true, cancelable: true });
170161
setTimeout(function () {
171162
return document.dispatchEvent(evt);
172163
}, 1);
173-
return _this2;
164+
return _this;
174165
});
175166
},
176167
writable: true,
177-
enumerable: true,
178168
configurable: true
179169
}
180170
});
181171

182172
return Aurelia;
183173
})();
184-
185-
exports.Aurelia = Aurelia;
174+
exports.__esModule = true;

dist/commonjs/index.js

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
11
"use strict";
22

3-
var _interopRequireWildcard = function (obj) {
4-
return obj && obj.constructor === Object ? obj : {
5-
"default": obj
6-
};
7-
};
8-
9-
var _defaults = function (obj, defaults) {
10-
for (var key in defaults) {
11-
if (obj[key] === undefined) {
12-
obj[key] = defaults[key];
13-
}
14-
}
15-
16-
return obj;
17-
};
3+
var _interopRequireWildcard = function (obj) { return obj && obj.__esModule ? obj : { "default": obj }; };
4+
5+
var _defaults = function (obj, defaults) { for (var key in defaults) { if (obj[key] === undefined) { obj[key] = defaults[key]; } } return obj; };
186

197
exports.Aurelia = require("./aurelia").Aurelia;
208
_defaults(exports, _interopRequireWildcard(require("aurelia-dependency-injection")));
@@ -31,4 +19,5 @@ _defaults(exports, _interopRequireWildcard(require("aurelia-task-queue")));
3119

3220
var TheLogManager = _interopRequireWildcard(require("aurelia-logging"));
3321

34-
var LogManager = exports.LogManager = TheLogManager;
22+
var LogManager = exports.LogManager = TheLogManager;
23+
exports.__esModule = true;

0 commit comments

Comments
 (0)