Skip to content

Commit

Permalink
chore(all): prepare release 2.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Dec 1, 2018
1 parent 79c83f2 commit 9a3e872
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 10 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": "2.3.0",
"version": "2.3.1",
"description": "Sets up the default configuration for the aurelia framework and gets you up and running quick and easy.",
"keywords": [
"aurelia",
Expand Down
7 changes: 6 additions & 1 deletion dist/amd/aurelia-bootstrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ define(['module', 'exports', 'aurelia-pal', 'aurelia-polyfills'], function (modu
exports.starting = undefined;
exports.bootstrap = bootstrap;

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
return typeof obj;
} : function (obj) {
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
};

var bootstrapPromises = [];
var startResolve = void 0;
Expand Down Expand Up @@ -55,7 +60,7 @@ define(['module', 'exports', 'aurelia-pal', 'aurelia-polyfills'], function (modu
});
}

if (typeof host.require === 'function' && typeof host.require.version === 'string') {
if (typeof host.require === 'function' && typeof host.define === 'function' && _typeof(host.define.amd) === 'object') {
return new Promise(function (resolve, reject) {
return host.require(['aurelia-loader-default'], function (m) {
return resolve(new m.DefaultLoader());
Expand Down
2 changes: 1 addition & 1 deletion dist/aurelia-bootstrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function createLoader() {
}

// AMD Module Loader Support
if (typeof host.require === 'function' && typeof host.require.version === 'string') {
if (typeof host.require === 'function' && typeof host.define === 'function' && typeof host.define.amd === 'object') {
return new Promise((resolve, reject) => host.require(['aurelia-loader-default'], m => resolve(new m.DefaultLoader()), reject));
}

Expand Down
5 changes: 4 additions & 1 deletion dist/commonjs/aurelia-bootstrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Object.defineProperty(exports, "__esModule", {
value: true
});
exports.starting = undefined;

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };

exports.bootstrap = bootstrap;

require('aurelia-polyfills');
Expand Down Expand Up @@ -57,7 +60,7 @@ function createLoader() {
});
}

if (typeof host.require === 'function' && typeof host.require.version === 'string') {
if (typeof host.require === 'function' && typeof host.define === 'function' && _typeof(host.define.amd) === 'object') {
return new Promise(function (resolve, reject) {
return host.require(['aurelia-loader-default'], function (m) {
return resolve(new m.DefaultLoader());
Expand Down
2 changes: 1 addition & 1 deletion dist/es2015/aurelia-bootstrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function createLoader() {
});
}

if (typeof host.require === 'function' && typeof host.require.version === 'string') {
if (typeof host.require === 'function' && typeof host.define === 'function' && typeof host.define.amd === 'object') {
return new Promise((resolve, reject) => host.require(['aurelia-loader-default'], m => resolve(new m.DefaultLoader()), reject));
}

Expand Down
4 changes: 3 additions & 1 deletion dist/native-modules/aurelia-bootstrapper.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };

import 'aurelia-polyfills';
import { PLATFORM, isInitialized } from 'aurelia-pal';

Expand Down Expand Up @@ -48,7 +50,7 @@ function createLoader() {
});
}

if (typeof host.require === 'function' && typeof host.require.version === 'string') {
if (typeof host.require === 'function' && typeof host.define === 'function' && _typeof(host.define.amd) === 'object') {
return new Promise(function (resolve, reject) {
return host.require(['aurelia-loader-default'], function (m) {
return resolve(new m.DefaultLoader());
Expand Down
10 changes: 7 additions & 3 deletions dist/system/aurelia-bootstrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
System.register(['aurelia-polyfills', 'aurelia-pal'], function (_export, _context) {
"use strict";

var PLATFORM, isInitialized, bootstrapPromises, startResolve, startPromise, host, isNodeLike, starting;

var PLATFORM, isInitialized, _typeof, bootstrapPromises, startResolve, startPromise, host, isNodeLike, starting;

function ready() {
if (!host.document || host.document.readyState === 'complete') {
Expand Down Expand Up @@ -44,7 +43,7 @@ System.register(['aurelia-polyfills', 'aurelia-pal'], function (_export, _contex
});
}

if (typeof host.require === 'function' && typeof host.require.version === 'string') {
if (typeof host.require === 'function' && typeof host.define === 'function' && _typeof(host.define.amd) === 'object') {
return new Promise(function (resolve, reject) {
return host.require(['aurelia-loader-default'], function (m) {
return resolve(new m.DefaultLoader());
Expand Down Expand Up @@ -162,6 +161,11 @@ System.register(['aurelia-polyfills', 'aurelia-pal'], function (_export, _contex
isInitialized = _aureliaPal.isInitialized;
}],
execute: function () {
_typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
return typeof obj;
} : function (obj) {
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
};
bootstrapPromises = [];
startResolve = void 0;
startPromise = new Promise(function (resolve) {
Expand Down
10 changes: 10 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name="2.3.1"></a>
## [2.3.1](https://github.com/aurelia/bootstrapper/compare/2.3.0...2.3.1) (2018-12-01)


### Bug Fixes

* **loader:** Use better detection of amd loaders ([1b98576](https://github.com/aurelia/bootstrapper/commit/1b98576))



<a name="2.3.0"></a>
# [2.3.0](https://github.com/aurelia/bootstrapper/compare/2.2.0...2.3.0) (2018-07-02)

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": "2.3.0",
"version": "2.3.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 9a3e872

Please sign in to comment.