Skip to content

Commit

Permalink
chore(all): update build
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Jun 15, 2016
1 parent ad9f878 commit 3fad320
Show file tree
Hide file tree
Showing 18 changed files with 724 additions and 2,457 deletions.
2 changes: 1 addition & 1 deletion build/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var paths = {
e2eSpecsDist: 'test/e2e/dist/',
packageName: pkg.name,
ignore: [],
useTypeScriptForDTS: true,
useTypeScriptForDTS: false,
importsToAdd: [],
sort: false
};
Expand Down
238 changes: 0 additions & 238 deletions dist/amd/aurelia-framework.d.ts

This file was deleted.

10 changes: 3 additions & 7 deletions dist/amd/aurelia-framework.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,7 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-binding', 'aurelia-m
}
}

function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}


function preventActionlessFormSubmit() {
_aureliaPal.DOM.addEventListener('submit', function (evt) {
Expand All @@ -116,7 +112,7 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-binding', 'aurelia-m

var Aurelia = exports.Aurelia = function () {
function Aurelia(loader, container, resources) {
_classCallCheck(this, Aurelia);


this.loader = loader || new _aureliaPal.PLATFORM.Loader();
this.container = container || new _aureliaDependencyInjection.Container().makeGlobal();
Expand Down Expand Up @@ -351,7 +347,7 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-binding', 'aurelia-m
function FrameworkConfiguration(aurelia) {
var _this4 = this;

_classCallCheck(this, FrameworkConfiguration);


this.aurelia = aurelia;
this.container = aurelia.container;
Expand Down
16 changes: 16 additions & 0 deletions dist/amd/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
define(['exports', './aurelia-framework'], function (exports, _aureliaFramework) {
'use strict';

Object.defineProperty(exports, "__esModule", {
value: true
});
Object.keys(_aureliaFramework).forEach(function (key) {
if (key === "default") return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function () {
return _aureliaFramework[key];
}
});
});
});
Loading

0 comments on commit 3fad320

Please sign in to comment.