Skip to content

Commit

Permalink
fix(all): remove core-js
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Feb 26, 2016
1 parent 71e1f4a commit 0e264f8
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 20 deletions.
4 changes: 4 additions & 0 deletions config.js
Expand Up @@ -22,6 +22,7 @@ System.config({
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1",
"aurelia-pal-browser": "npm:aurelia-pal-browser@1.0.0-beta.1.1.2",
"aurelia-path": "npm:aurelia-path@1.0.0-beta.1.1.0",
"aurelia-polyfills": "npm:aurelia-polyfills@0.1.2",
"aurelia-task-queue": "npm:aurelia-task-queue@1.0.0-beta.1.1.0",
"babel": "npm:babel-core@5.8.35",
"babel-runtime": "npm:babel-runtime@5.8.35",
Expand Down Expand Up @@ -65,6 +66,9 @@ System.config({
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1",
"core-js": "npm:core-js@2.0.3"
},
"npm:aurelia-polyfills@0.1.2": {
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1"
},
"npm:aurelia-task-queue@1.0.0-beta.1.1.0": {
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1"
},
Expand Down
10 changes: 4 additions & 6 deletions package.json
Expand Up @@ -36,8 +36,7 @@
"aurelia-metadata": "^1.0.0-beta.1.1.3",
"aurelia-pal": "^1.0.0-beta.1.1.1",
"aurelia-path": "^1.0.0-beta.1.1.0",
"aurelia-task-queue": "^1.0.0-beta.1.1.0",
"core-js": "^2.0.3"
"aurelia-task-queue": "^1.0.0-beta.1.1.0"
},
"dependencies": {
"aurelia-binding": "^1.0.0-beta.1.1.0",
Expand All @@ -47,11 +46,11 @@
"aurelia-metadata": "^1.0.0-beta.1.1.3",
"aurelia-pal": "^1.0.0-beta.1.1.1",
"aurelia-path": "^1.0.0-beta.1.1.0",
"aurelia-task-queue": "^1.0.0-beta.1.1.0",
"core-js": "^2.0.3"
"aurelia-task-queue": "^1.0.0-beta.1.1.0"
},
"devDependencies": {
"aurelia-pal-browser": "^1.0.0-beta.1.1.2",
"aurelia-polyfills": "^0.1.2",
"babel": "babel-core@^5.8.24",
"babel-runtime": "^5.8.24",
"core-js": "^2.0.3"
Expand All @@ -65,8 +64,7 @@
"aurelia-metadata": "^1.0.0-beta.1.1.3",
"aurelia-pal": "^1.0.0-beta.1.1.1",
"aurelia-path": "^1.0.0-beta.1.1.0",
"aurelia-task-queue": "^1.0.0-beta.1.1.0",
"core-js": "^2.0.3"
"aurelia-task-queue": "^1.0.0-beta.1.1.0"
},
"devDependencies": {
"aurelia-tools": "^0.1.12",
Expand Down
1 change: 0 additions & 1 deletion src/bindable-property.js
@@ -1,4 +1,3 @@
import 'core-js';
import {_hyphenate} from './util';
import {BehaviorPropertyObserver} from './behavior-property-observer';
import {bindingMode} from 'aurelia-binding';
Expand Down
2 changes: 0 additions & 2 deletions src/content-selector.js
@@ -1,5 +1,3 @@
import 'core-js';

let placeholder = [];

function findInsertionPoint(groups, index) {
Expand Down
1 change: 0 additions & 1 deletion src/decorators.js
@@ -1,4 +1,3 @@
import 'core-js';
import {metadata} from 'aurelia-metadata';
import {BindableProperty} from './bindable-property';
import {ElementConfigResource} from './element-config';
Expand Down
1 change: 0 additions & 1 deletion src/view-engine.js
@@ -1,4 +1,3 @@
import 'core-js';
import * as LogManager from 'aurelia-logging';
import {Origin} from 'aurelia-metadata';
import {Loader, TemplateRegistryEntry} from 'aurelia-loader';
Expand Down
1 change: 1 addition & 0 deletions test/behavior-testing.js
@@ -1,3 +1,4 @@
import './setup';
import {BindingEngine} from 'aurelia-binding';
import {Container} from 'aurelia-dependency-injection';
import {TemplatingEngine} from '../src/templating-engine';
Expand Down
3 changes: 2 additions & 1 deletion test/decorators.spec.js
@@ -1,4 +1,5 @@
import {metadata} from 'aurelia-metadata';
import './setup';
import {metadata} from 'aurelia-metadata';
import {bindingMode} from 'aurelia-binding';
import {customAttribute} from '../src/decorators';

Expand Down
6 changes: 2 additions & 4 deletions test/html-behavior.spec.js
@@ -1,10 +1,8 @@
import {Container} from 'aurelia-dependency-injection';
import './setup';
import {Container} from 'aurelia-dependency-injection';
import {ObserverLocator, bindingMode} from 'aurelia-binding';
import {TaskQueue} from 'aurelia-task-queue';
import {HtmlBehaviorResource} from '../src/html-behavior';
import {initialize} from 'aurelia-pal-browser';

initialize();

describe('html-behavior', () => {
var defaultBindingMode = bindingMode.oneWay;
Expand Down
4 changes: 4 additions & 0 deletions test/setup.js
@@ -0,0 +1,4 @@
import 'aurelia-polyfills';
import {initialize} from 'aurelia-pal-browser';

initialize();
1 change: 1 addition & 0 deletions test/view-compiler.spec.js
@@ -1,3 +1,4 @@
import './setup';
import {ViewCompiler} from '../src/view-compiler';
import {ViewResources} from '../src/view-resources';

Expand Down
6 changes: 2 additions & 4 deletions test/view-slot.spec.js
@@ -1,15 +1,13 @@
import {Container} from 'aurelia-dependency-injection';
import './setup';
import {Container} from 'aurelia-dependency-injection';
import {ViewSlot} from '../src/view-slot';
import {TemplatingEngine} from '../src/templating-engine';
import {initialize} from 'aurelia-pal-browser';
import {View} from '../src/view';
import {ViewResources} from '../src/view-resources';
import {ViewFactory} from '../src/view-factory';
import {_ContentSelector} from '../src/content-selector';
import {DOM} from 'aurelia-pal';

initialize();

describe('view-slot', () => {
let container;
let templatingEngine;
Expand Down

0 comments on commit 0e264f8

Please sign in to comment.