Skip to content

Commit cf4ddcb

Browse files
committed
Merge branch 'aurelia-startup' of https://github.com/Gheoan/js-framework-benchmark into Gheoan-aurelia-startup
2 parents 232a54a + 94f66f7 commit cf4ddcb

File tree

4 files changed

+5
-12
lines changed

4 files changed

+5
-12
lines changed

aurelia-v1.1.0/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
"aurelia-templating-resources": "^1.3.1",
3434
"aurelia-templating-router": "^1.1.0",
3535
"babel-polyfill": "^6.23.0",
36-
"bluebird": "^3.5.0",
3736
"bootstrap": "^3.3.7",
3837
"font-awesome": "^4.7.0",
3938
"isomorphic-fetch": "^2.2.1",
@@ -50,7 +49,6 @@
5049
"@easy-webpack/config-external-source-maps": "^3.1.0",
5150
"@easy-webpack/config-fonts-and-images": "^3.1.0",
5251
"@easy-webpack/config-generate-index-html": "^2.1.1",
53-
"@easy-webpack/config-global-bluebird": "^2.1.0",
5452
"@easy-webpack/config-global-jquery": "^2.1.1",
5553
"@easy-webpack/config-global-regenerator": "^1.3.0",
5654
"@easy-webpack/config-html": "^3.1.0",

aurelia-v1.1.0/src/main.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
import * as Bluebird from 'bluebird';
2-
Bluebird.config({ warnings: false });
3-
41
export async function configure(aurelia) {
52
aurelia.use
6-
.standardConfiguration();
3+
.defaultBindingLanguage()
4+
.defaultResources();
75

86
await aurelia.start();
97
aurelia.setRoot('app');

aurelia-v1.1.0/webpack.config.babel.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import babel from '@easy-webpack/config-babel'
1212
import html from '@easy-webpack/config-html'
1313
import css from '@easy-webpack/config-css'
1414
import fontAndImages from '@easy-webpack/config-fonts-and-images'
15-
import globalBluebird from '@easy-webpack/config-global-bluebird'
1615
import globalJquery from '@easy-webpack/config-global-jquery'
1716
import globalRegenerator from '@easy-webpack/config-global-regenerator'
1817
import generateIndexHtml from '@easy-webpack/config-generate-index-html'
@@ -37,8 +36,7 @@ const coreBundles = {
3736
'aurelia-polyfills',
3837
'aurelia-pal',
3938
'aurelia-pal-browser',
40-
'regenerator-runtime',
41-
'bluebird'
39+
'regenerator-runtime'
4240
],
4341
// these will be included in the 'aurelia' bundle (except for the above bootstrap packages)
4442
aurelia: [
@@ -87,7 +85,7 @@ let config = generateConfig(
8785
* Don't be afraid, you can put bits of standard Webpack configuration here
8886
* (or at the end, after the last parameter, so it won't get overwritten by the presets)
8987
* Because that's all easy-webpack configs are - snippets of premade, maintained configuration parts!
90-
*
88+
*
9189
* For Webpack docs, see: https://webpack.js.org/configuration/
9290
*/
9391

@@ -101,7 +99,6 @@ let config = generateConfig(
10199
html(),
102100
css({ filename: 'styles.css', allChunks: true, sourceMap: false }),
103101
fontAndImages(),
104-
globalBluebird(),
105102
globalJquery(),
106103
globalRegenerator(),
107104
generateIndexHtml({minify: ENV === 'production'}),

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h3 class="panel-title">Choose a framework:</h3> </div>
2020
<li><a href="angular-v2.4.9-keyed"><span class="glyphicon glyphicon-arrow-right" aria-hidden="true"></span> angular-v2.4.9-keyed</a></li>
2121
<li><a href="angular-v2.4.9-non-keyed"><span class="glyphicon glyphicon-arrow-right" aria-hidden="true"></span> angular-v2.4.9-non-keyed</a></li>
2222
<li><a href="angular-v4.0.0-rc-keyed"><span class="glyphicon glyphicon-arrow-right" aria-hidden="true"></span> angular-v4.0.0-rc-keyed</a></li>
23-
<li><a href="aurelia-v1.0.8/dist"><span class="glyphicon glyphicon-arrow-right" aria-hidden="true"></span> aurelia-v1.0.8</a></li>
23+
<li><a href="aurelia-v1.1.0/dist"><span class="glyphicon glyphicon-arrow-right" aria-hidden="true"></span> aurelia-v1.1.0</a></li>
2424
<li><a href="binding.scala-v10.0.1/target/web/stage"><span class="glyphicon glyphicon-arrow-right" aria-hidden="true"></span> binding.scala-v10.0.1</a></li>
2525
<li><a href="bobril-v5.0.4"><span class="glyphicon glyphicon-arrow-right" aria-hidden="true"></span> bobril-v5.0.4</a></li>
2626
<li><a href="choo-v4.1.0"><span class="glyphicon glyphicon-arrow-right" aria-hidden="true"></span> choo-v4.1.0</a></li>

0 commit comments

Comments
 (0)