Skip to content

Commit

Permalink
chore(all): prepare release 0.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Jun 9, 2015
1 parent 2fa4d3e commit 75d8a1b
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 19 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-bootstrapper",
"version": "0.13.0",
"version": "0.13.1",
"description": "Sets up the default configuration for the aurelia framework and gets you up and running quick and easy.",
"keywords": [
"aurelia",
Expand Down
16 changes: 12 additions & 4 deletions dist/amd/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,19 @@ define(['exports', 'core-js', 'aurelia-framework', 'aurelia-logging-console'], f

function ensureLoader() {
if (!window.AureliaLoader) {
return System.normalize('aurelia-bootstrapper').then(function (bootstrapperName) {
return System.normalize('aurelia-loader-default', bootstrapperName).then(function (loaderName) {
return System['import'](loaderName);
if (window.System) {
return System.normalize('aurelia-bootstrapper').then(function (bootstrapperName) {
return System.normalize('aurelia-loader-default', bootstrapperName).then(function (loaderName) {
return System['import'](loaderName);
});
});
});
} else if (window.require) {
return new Promise(function (resolve, reject) {
require(['aurelia-loader-default'], resolve, reject);
});
} else {
throw new Error('No window.AureliaLoader is defined and there is neither a System API (ES6) or a Require API (AMD) available to load your app.');
}
}

return Promise.resolve();
Expand Down
16 changes: 12 additions & 4 deletions dist/commonjs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,19 @@ function ready(global) {

function ensureLoader() {
if (!window.AureliaLoader) {
return System.normalize('aurelia-bootstrapper').then(function (bootstrapperName) {
return System.normalize('aurelia-loader-default', bootstrapperName).then(function (loaderName) {
return System['import'](loaderName);
if (window.System) {
return System.normalize('aurelia-bootstrapper').then(function (bootstrapperName) {
return System.normalize('aurelia-loader-default', bootstrapperName).then(function (loaderName) {
return System['import'](loaderName);
});
});
});
} else if (window.require) {
return new Promise(function (resolve, reject) {
require(['aurelia-loader-default'], resolve, reject);
});
} else {
throw new Error('No window.AureliaLoader is defined and there is neither a System API (ES6) or a Require API (AMD) available to load your app.');
}
}

return Promise.resolve();
Expand Down
18 changes: 13 additions & 5 deletions dist/es6/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,19 @@ function ready(global) {

function ensureLoader(){
if(!window.AureliaLoader){
return System.normalize('aurelia-bootstrapper').then(function(bootstrapperName){
return System.normalize('aurelia-loader-default', bootstrapperName).then(function(loaderName){
return System.import(loaderName);
})
});
if(window.System){
return System.normalize('aurelia-bootstrapper').then(bootstrapperName => {
return System.normalize('aurelia-loader-default', bootstrapperName).then(loaderName => {
return System.import(loaderName);
})
});
} else if(window.require){
return new Promise((resolve, reject) => {
require(['aurelia-loader-default'], resolve, reject);
});
}else{
throw new Error('No window.AureliaLoader is defined and there is neither a System API (ES6) or a Require API (AMD) available to load your app.')
}
}

return Promise.resolve();
Expand Down
16 changes: 12 additions & 4 deletions dist/system/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,19 @@ System.register(['core-js', 'aurelia-framework', 'aurelia-logging-console'], fun

function ensureLoader() {
if (!window.AureliaLoader) {
return System.normalize('aurelia-bootstrapper').then(function (bootstrapperName) {
return System.normalize('aurelia-loader-default', bootstrapperName).then(function (loaderName) {
return System['import'](loaderName);
if (window.System) {
return System.normalize('aurelia-bootstrapper').then(function (bootstrapperName) {
return System.normalize('aurelia-loader-default', bootstrapperName).then(function (loaderName) {
return System['import'](loaderName);
});
});
});
} else if (window.require) {
return new Promise(function (resolve, reject) {
require(['aurelia-loader-default'], resolve, reject);
});
} else {
throw new Error('No window.AureliaLoader is defined and there is neither a System API (ES6) or a Require API (AMD) available to load your app.');
}
}

return Promise.resolve();
Expand Down
8 changes: 8 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
### 0.13.1 (2015-06-09)


#### Bug Fixes

* **index:** detect System or require api and load appropriately ([2fa4d3e7](http://github.com/aurelia/bootstrapper/commit/2fa4d3e7a6f525912ed1384c6eab33ff34960eb0), closes [#110](http://github.com/aurelia/bootstrapper/issues/110))


## 0.13.0 (2015-06-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-bootstrapper",
"version": "0.13.0",
"version": "0.13.1",
"description": "Sets up the default configuration for the aurelia framework and gets you up and running quick and easy.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit 75d8a1b

Please sign in to comment.