Skip to content

Commit

Permalink
chore(all): prepare release 0.8.6
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Feb 3, 2015
1 parent 3746368 commit 9ae584f
Show file tree
Hide file tree
Showing 12 changed files with 84 additions and 149 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-framework",
"version": "0.8.5",
"version": "0.8.6",
"description": "The aurelia framework brings together all the required core aurelia libraries into a ready-to-go application-building platform.",
"keywords": [
"aurelia",
Expand Down
31 changes: 11 additions & 20 deletions dist/amd/aurelia.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
define(["exports", "aurelia-logging", "aurelia-dependency-injection", "aurelia-loader", "aurelia-templating", "./plugins"], function (exports, _aureliaLogging, _aureliaDependencyInjection, _aureliaLoader, _aureliaTemplating, _plugins) {
"use strict";

var _prototypeProperties = function (child, staticProps, instanceProps) {
if (staticProps) Object.defineProperties(child, staticProps);
if (instanceProps) Object.defineProperties(child.prototype, instanceProps);
};
var _prototypeProperties = function (child, staticProps, instanceProps) { if (staticProps) Object.defineProperties(child, staticProps); if (instanceProps) Object.defineProperties(child.prototype, instanceProps); };

var LogManager = _aureliaLogging;
var Container = _aureliaDependencyInjection.Container;
Expand Down Expand Up @@ -38,7 +35,10 @@ define(["exports", "aurelia-logging", "aurelia-dependency-injection", "aurelia-l
}

function loadResources(container, resourcesToLoad, appResources) {
var next = function () {
var resourceCoordinator = container.get(ResourceCoordinator),
current;

function next() {
if (current = resourcesToLoad.shift()) {
return resourceCoordinator.importResources(current, current.resourceManifestUrl).then(function (resources) {
resources.forEach(function (x) {
Expand All @@ -49,15 +49,12 @@ define(["exports", "aurelia-logging", "aurelia-dependency-injection", "aurelia-l
}

return Promise.resolve();
};

var resourceCoordinator = container.get(ResourceCoordinator),
current;
}

return next();
}

var Aurelia = (function () {
var Aurelia = exports.Aurelia = (function () {
function Aurelia(loader, container, resources) {
this.loader = loader || Loader.createDefaultLoader();
this.container = container || new Container();
Expand All @@ -81,7 +78,6 @@ define(["exports", "aurelia-logging", "aurelia-dependency-injection", "aurelia-l
return this;
},
writable: true,
enumerable: true,
configurable: true
},
withSingleton: {
Expand All @@ -90,7 +86,6 @@ define(["exports", "aurelia-logging", "aurelia-dependency-injection", "aurelia-l
return this;
},
writable: true,
enumerable: true,
configurable: true
},
withResources: {
Expand All @@ -101,7 +96,6 @@ define(["exports", "aurelia-logging", "aurelia-dependency-injection", "aurelia-l
return this;
},
writable: true,
enumerable: true,
configurable: true
},
start: {
Expand Down Expand Up @@ -133,12 +127,11 @@ define(["exports", "aurelia-logging", "aurelia-dependency-injection", "aurelia-l
});
},
writable: true,
enumerable: true,
configurable: true
},
setRoot: {
value: function setRoot(root, applicationHost) {
var _this2 = this;
var _this = this;
var compositionEngine,
instruction = {};

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

return compositionEngine.compose(instruction).then(function (root) {
_this2.root = root;
_this.root = root;
instruction.viewSlot.attached();
var evt = new window.CustomEvent("aurelia-composed", { bubbles: true, cancelable: true });
setTimeout(function () {
return document.dispatchEvent(evt);
}, 1);
return _this2;
return _this;
});
},
writable: true,
enumerable: true,
configurable: true
}
});

return Aurelia;
})();

exports.Aurelia = Aurelia;
exports.__esModule = true;
});
19 changes: 4 additions & 15 deletions dist/amd/index.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
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) {
"use strict";

var _interopRequireWildcard = function (obj) {
return obj && obj.constructor === Object ? obj : {
"default": obj
};
};

var _defaults = function (obj, defaults) {
for (var key in defaults) {
if (obj[key] === undefined) {
obj[key] = defaults[key];
}
}

return obj;
};
var _interopRequireWildcard = function (obj) { return obj && obj.__esModule ? obj : { "default": obj }; };

var _defaults = function (obj, defaults) { for (var key in defaults) { if (obj[key] === undefined) { obj[key] = defaults[key]; } } return obj; };

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

var TheLogManager = _aureliaLogging;
var LogManager = exports.LogManager = TheLogManager;
exports.__esModule = true;
});
20 changes: 7 additions & 13 deletions dist/amd/plugins.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
define(["exports", "aurelia-logging", "aurelia-metadata"], function (exports, _aureliaLogging, _aureliaMetadata) {
"use strict";

var _prototypeProperties = function (child, staticProps, instanceProps) {
if (staticProps) Object.defineProperties(child, staticProps);
if (instanceProps) Object.defineProperties(child.prototype, instanceProps);
};
var _prototypeProperties = function (child, staticProps, instanceProps) { if (staticProps) Object.defineProperties(child, staticProps); if (instanceProps) Object.defineProperties(child.prototype, instanceProps); };

var LogManager = _aureliaLogging;
var Metadata = _aureliaMetadata.Metadata;
Expand Down Expand Up @@ -39,7 +36,7 @@ define(["exports", "aurelia-logging", "aurelia-metadata"], function (exports, _a
});
}

var Plugins = (function () {
var Plugins = exports.Plugins = (function () {
function Plugins(aurelia) {
this.aurelia = aurelia;
this.info = [];
Expand All @@ -60,7 +57,6 @@ define(["exports", "aurelia-logging", "aurelia-metadata"], function (exports, _a
return this;
},
writable: true,
enumerable: true,
configurable: true
},
es5: {
Expand All @@ -76,21 +72,21 @@ define(["exports", "aurelia-logging", "aurelia-metadata"], function (exports, _a
return this;
},
writable: true,
enumerable: true,
configurable: true
},
atscript: {
value: function atscript() {
this.aurelia.container.supportAtScript();
Metadata.configure.location("annotate");
Metadata.configure.locator(function (fn) {
return fn.annotate || fn.annotations;
});
return this;
},
writable: true,
enumerable: true,
configurable: true
},
_process: {
value: function Process() {
value: function _process() {
var _this = this;
var aurelia = this.aurelia,
loader = aurelia.loader,
Expand All @@ -113,13 +109,11 @@ define(["exports", "aurelia-logging", "aurelia-metadata"], function (exports, _a
return next();
},
writable: true,
enumerable: true,
configurable: true
}
});

return Plugins;
})();

exports.Plugins = Plugins;
exports.__esModule = true;
});
51 changes: 20 additions & 31 deletions dist/commonjs/aurelia.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,20 @@
"use strict";

var _prototypeProperties = function (child, staticProps, instanceProps) {
if (staticProps) Object.defineProperties(child, staticProps);
if (instanceProps) Object.defineProperties(child.prototype, instanceProps);
};

var _interopRequireWildcard = function (obj) {
return obj && obj.constructor === Object ? obj : {
"default": obj
};
};
var _interopRequireWildcard = function (obj) { return obj && obj.__esModule ? obj : { "default": obj }; };

var _prototypeProperties = function (child, staticProps, instanceProps) { if (staticProps) Object.defineProperties(child, staticProps); if (instanceProps) Object.defineProperties(child.prototype, instanceProps); };

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

var Container = require("aurelia-dependency-injection").Container;
var Loader = require("aurelia-loader").Loader;
var BindingLanguage = require("aurelia-templating").BindingLanguage;
var ResourceCoordinator = require("aurelia-templating").ResourceCoordinator;
var ViewSlot = require("aurelia-templating").ViewSlot;
var ResourceRegistry = require("aurelia-templating").ResourceRegistry;
var CompositionEngine = require("aurelia-templating").CompositionEngine;
var _aureliaTemplating = require("aurelia-templating");

var BindingLanguage = _aureliaTemplating.BindingLanguage;
var ResourceCoordinator = _aureliaTemplating.ResourceCoordinator;
var ViewSlot = _aureliaTemplating.ViewSlot;
var ResourceRegistry = _aureliaTemplating.ResourceRegistry;
var CompositionEngine = _aureliaTemplating.CompositionEngine;
var Plugins = require("./plugins").Plugins;


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

function loadResources(container, resourcesToLoad, appResources) {
var next = function () {
var resourceCoordinator = container.get(ResourceCoordinator),
current;

function next() {
if (current = resourcesToLoad.shift()) {
return resourceCoordinator.importResources(current, current.resourceManifestUrl).then(function (resources) {
resources.forEach(function (x) {
Expand All @@ -55,15 +53,12 @@ function loadResources(container, resourcesToLoad, appResources) {
}

return Promise.resolve();
};

var resourceCoordinator = container.get(ResourceCoordinator),
current;
}

return next();
}

var Aurelia = (function () {
var Aurelia = exports.Aurelia = (function () {
function Aurelia(loader, container, resources) {
this.loader = loader || Loader.createDefaultLoader();
this.container = container || new Container();
Expand All @@ -87,7 +82,6 @@ var Aurelia = (function () {
return this;
},
writable: true,
enumerable: true,
configurable: true
},
withSingleton: {
Expand All @@ -96,7 +90,6 @@ var Aurelia = (function () {
return this;
},
writable: true,
enumerable: true,
configurable: true
},
withResources: {
Expand All @@ -107,7 +100,6 @@ var Aurelia = (function () {
return this;
},
writable: true,
enumerable: true,
configurable: true
},
start: {
Expand Down Expand Up @@ -139,12 +131,11 @@ var Aurelia = (function () {
});
},
writable: true,
enumerable: true,
configurable: true
},
setRoot: {
value: function setRoot(root, applicationHost) {
var _this2 = this;
var _this = this;
var compositionEngine,
instruction = {};

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

return compositionEngine.compose(instruction).then(function (root) {
_this2.root = root;
_this.root = root;
instruction.viewSlot.attached();
var evt = new window.CustomEvent("aurelia-composed", { bubbles: true, cancelable: true });
setTimeout(function () {
return document.dispatchEvent(evt);
}, 1);
return _this2;
return _this;
});
},
writable: true,
enumerable: true,
configurable: true
}
});

return Aurelia;
})();

exports.Aurelia = Aurelia;
exports.__esModule = true;
21 changes: 5 additions & 16 deletions dist/commonjs/index.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
"use strict";

var _interopRequireWildcard = function (obj) {
return obj && obj.constructor === Object ? obj : {
"default": obj
};
};

var _defaults = function (obj, defaults) {
for (var key in defaults) {
if (obj[key] === undefined) {
obj[key] = defaults[key];
}
}

return obj;
};
var _interopRequireWildcard = function (obj) { return obj && obj.__esModule ? obj : { "default": obj }; };

var _defaults = function (obj, defaults) { for (var key in defaults) { if (obj[key] === undefined) { obj[key] = defaults[key]; } } return obj; };

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

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

var LogManager = exports.LogManager = TheLogManager;
var LogManager = exports.LogManager = TheLogManager;
exports.__esModule = true;
Loading

0 comments on commit 9ae584f

Please sign in to comment.