Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 12, 2019. It is now read-only.

Commit 8b614ac

Browse files
committed
updated inferno
1 parent 47a9a1a commit 8b614ac

File tree

16 files changed

+42
-38
lines changed

16 files changed

+42
-38
lines changed
File renamed without changes.

inferno-v1.6.0-keyed/index.html renamed to inferno-v3.1.2-keyed/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
5-
<title>Inferno v1.6.0</title>
5+
<title>Inferno v3.1.2</title>
66
<link href="/css/currentStyle.css" rel="stylesheet"/>
77
</head>
88
<body>

inferno-v1.6.0-non-keyed/package.json renamed to inferno-v3.1.2-keyed/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"version": "1.0.0",
44
"description": "Benchmark for inferno framework",
55
"scripts": {
6-
"build-dev": "webpack -w -d -c webpack.config.js",
7-
"build-prod": "webpack -d -c webpack.config.js"
6+
"build-dev": "webpack -w -d",
7+
"build-prod": "webpack -p"
88
},
99
"keywords": [
1010
"ractive"
@@ -17,16 +17,16 @@
1717
"url": "https://github.com/krausest/js-framework-benchmark.git"
1818
},
1919
"devDependencies": {
20-
"babel-core": "6.24.0",
21-
"babel-loader": "6.4.1",
22-
"babel-plugin-inferno": "3.1.0",
20+
"babel-core": "6.24.1",
21+
"babel-loader": "7.0.0",
22+
"babel-plugin-inferno": "3.2.0",
2323
"babel-plugin-syntax-jsx": "6.18.0",
24-
"babel-preset-es2015": "6.24.0",
25-
"babel-preset-stage-0": "6.22.0",
26-
"webpack": "1.14.0"
24+
"babel-preset-es2015": "6.24.1",
25+
"babel-preset-stage-0": "6.24.1",
26+
"webpack": "2.5.1"
2727
},
2828
"dependencies": {
29-
"inferno": "1.6.0",
30-
"inferno-component": "1.6.0"
29+
"inferno": "3.1.2",
30+
"inferno-component": "3.1.2"
3131
}
3232
}

inferno-v1.6.0-keyed/src/controller.jsx renamed to inferno-v3.1.2-keyed/src/controller.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function createRows(store, deleteFunc, selectFunc) {
7373

7474
const title = (
7575
<div className="col-md-6" noNormalize>
76-
<h1 noNormalize>Inferno v1.6.0 - keyed</h1>
76+
<h1 noNormalize>Inferno v3.1.2 - keyed</h1>
7777
</div>
7878
);
7979
const span2 = <span className="preloadicon glyphicon glyphicon-remove" aria-hidden="true" noNormalize></span>;

inferno-v1.6.0-non-keyed/webpack.config.js renamed to inferno-v3.1.2-keyed/webpack.config.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use strict';
22
require("babel-plugin-syntax-jsx")
33
require("babel-plugin-inferno")
4+
var path = require('path')
45

56
var cache = {};
67
var loaders = [
@@ -18,7 +19,7 @@ var loaders = [
1819
}
1920
];
2021
var extensions = [
21-
'', '.js', '.jsx', '.es6.js', '.msx'
22+
'.js', '.jsx', '.es6.js', '.msx'
2223
];
2324

2425
module.exports = [{
@@ -30,16 +31,17 @@ module.exports = [{
3031
main: './src/main',
3132
},
3233
output: {
33-
path: './dist',
34+
path: path.resolve(__dirname, "dist"),
3435
filename: '[name].js',
3536
sourceMapFilename: "[file].map",
3637
},
3738
resolve: {
38-
extensions: extensions,
39-
root: [
39+
modules: [
4040
__dirname,
41-
__dirname + '/src'
41+
path.resolve(__dirname, "src"),
42+
"node_modules"
4243
],
44+
extensions: extensions,
4345
alias: {
4446
"inferno": __dirname+"/node_modules/inferno/dist/inferno.min.js",
4547
"inferno-component": __dirname+"/node_modules/inferno-component/dist/inferno-component.min.js"
File renamed without changes.

inferno-v1.6.0-non-keyed/index.html renamed to inferno-v3.1.2-non-keyed/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
5-
<title>Inferno v1.6.0</title>
5+
<title>Inferno v3.1.2</title>
66
<link href="/css/currentStyle.css" rel="stylesheet"/>
77
</head>
88
<body>

inferno-v1.6.0-keyed/package.json renamed to inferno-v3.1.2-non-keyed/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"version": "1.0.0",
44
"description": "Benchmark for inferno framework",
55
"scripts": {
6-
"build-dev": "webpack -w -d -c webpack.config.js",
7-
"build-prod": "webpack -d -c webpack.config.js"
6+
"build-dev": "webpack -w -d",
7+
"build-prod": "webpack -p"
88
},
99
"keywords": [
1010
"ractive"
@@ -17,16 +17,16 @@
1717
"url": "https://github.com/krausest/js-framework-benchmark.git"
1818
},
1919
"devDependencies": {
20-
"babel-core": "6.24.0",
21-
"babel-loader": "6.4.1",
22-
"babel-plugin-inferno": "3.1.0",
20+
"babel-core": "6.24.1",
21+
"babel-loader": "7.0.0",
22+
"babel-plugin-inferno": "3.2.0",
2323
"babel-plugin-syntax-jsx": "6.18.0",
24-
"babel-preset-es2015": "6.24.0",
25-
"babel-preset-stage-0": "6.22.0",
26-
"webpack": "1.14.0"
24+
"babel-preset-es2015": "6.24.1",
25+
"babel-preset-stage-0": "6.24.1",
26+
"webpack": "2.5.1"
2727
},
2828
"dependencies": {
29-
"inferno": "1.6.0",
30-
"inferno-component": "1.6.0"
29+
"inferno": "3.1.2",
30+
"inferno-component": "3.1.2"
3131
}
3232
}

inferno-v1.6.0-non-keyed/src/controller.jsx renamed to inferno-v3.1.2-non-keyed/src/controller.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function createRows(store, deleteFunc, selectFunc) {
9191

9292
const title = (
9393
<div className="col-md-6" noNormalize>
94-
<h1 noNormalize>Inferno v1.6.0 - non-keyed</h1>
94+
<h1 noNormalize>Inferno v3.1.2 - non-keyed</h1>
9595
</div>
9696
);
9797
const span2 = <span className="preloadicon glyphicon glyphicon-remove" aria-hidden="true" noNormalize></span>;

inferno-v1.6.0-keyed/webpack.config.js renamed to inferno-v3.1.2-non-keyed/webpack.config.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use strict';
22
require("babel-plugin-syntax-jsx")
33
require("babel-plugin-inferno")
4+
var path = require('path')
45

56
var cache = {};
67
var loaders = [
@@ -18,7 +19,7 @@ var loaders = [
1819
}
1920
];
2021
var extensions = [
21-
'', '.js', '.jsx', '.es6.js', '.msx'
22+
'.js', '.jsx', '.es6.js', '.msx'
2223
];
2324

2425
module.exports = [{
@@ -30,16 +31,17 @@ module.exports = [{
3031
main: './src/main',
3132
},
3233
output: {
33-
path: './dist',
34+
path: path.resolve(__dirname, "dist"),
3435
filename: '[name].js',
3536
sourceMapFilename: "[file].map",
3637
},
3738
resolve: {
38-
extensions: extensions,
39-
root: [
39+
modules: [
4040
__dirname,
41-
__dirname + '/src'
41+
path.resolve(__dirname, "src"),
42+
"node_modules"
4243
],
44+
extensions: extensions,
4345
alias: {
4446
"inferno": __dirname+"/node_modules/inferno/dist/inferno.min.js",
4547
"inferno-component": __dirname+"/node_modules/inferno-component/dist/inferno-component.min.js"

webdriver-ts/src/common.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ export let frameworks = [
5050
f("elm-v0.18.0", false),
5151
f("glimmer-v0.3.10", false, {uri: "glimmer-v0.3.10/dist"}),
5252
f("hyperapp-v0.9.1", true),
53-
f("inferno-v1.6.0-non-keyed", true),
54-
f("inferno-v1.6.0-keyed", false),
53+
f("inferno-v3.1.2-non-keyed", true),
54+
f("inferno-v3.1.2-keyed", false),
5555
f("ivi-v0.5.0", false),
5656
f("kivi-v1.0.0-rc2", false),
5757
f("knockout-v3.4.1", false),

webdriver-ts/table.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)