Skip to content

Commit 0ceb96e

Browse files
committed
updated dio to 3.0.5
1 parent 9c0f3c9 commit 0ceb96e

File tree

7 files changed

+18
-10
lines changed

7 files changed

+18
-10
lines changed
File renamed without changes.

dio-v2.1.0/index.html renamed to dio-v3.0.5/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<meta http-equiv="x-ua-compatible" content="ie=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
7-
<title>dio</title>
7+
<title>dio v3.0.5</title>
88
<link href="../css/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/>
99
<link href="../css/main.css" rel="stylesheet"/>
1010
</head>

dio-v2.1.0/package.json renamed to dio-v3.0.5/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
"url": "https://github.com/krausest/js-framework-benchmark.git"
1515
},
1616
"devDependencies": {
17-
"babel-core": "6.10.4",
18-
"babel-loader": "6.2.4",
19-
"babel-preset-es2015": "6.9.0",
17+
"babel-core": "6.18.2",
18+
"babel-loader": "6.2.8",
19+
"babel-preset-es2015": "6.18.0",
2020
"imports-loader": "^0.6.5",
21-
"webpack": "1.13.1"
21+
"webpack": "1.13.3"
2222
},
2323
"dependencies": {
24-
"dio.js": "^2.1.0"
24+
"dio.js": "^3.0.5"
2525
}
2626
}

dio-v2.1.0/src/main.js renamed to dio-v3.0.5/src/main.js

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
import {Store, startMeasure, stopMeasure} from './store.js'
22

3-
var dio = require("dio.js").dio;
3+
var dio = require("dio.js");
44

55
var {VElement, VComponent, VText, VBlueprint, version} = dio;
66

7-
console.log("***", VElement, VComponent, VText, VBlueprint, version);
87

98
var colMd1 = {className: 'col-md-1'};
109
var colMd4 = {className: 'col-md-4'};
@@ -139,7 +138,16 @@ class Main extends dio.Component {
139138
constructor(props) {
140139
super(props);
141140
this.state = {store: new Store()};
142-
this.autoBind('delete', 'select', 'run', 'runLots', 'add', 'update', 'clear', 'swapRows');
141+
142+
this.delete = this.delete.bind(this);
143+
this.select = this.select.bind(this);
144+
this.run = this.run.bind(this);
145+
this.runLots = this.runLots.bind(this);
146+
this.add = this.add.bind(this);
147+
this.update = this.update.bind(this);
148+
this.clear = this.clear.bind(this);
149+
this.swapRows = this.swapRows.bind(this);
150+
143151
this.nav = Nav(this.run, this.runLots, this.add, this.update, this.clear, this.swapRows);
144152
}
145153
render(props, state, self) {
File renamed without changes.
File renamed without changes.

webdriver-ts/src/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export let frameworks = [
3030
f("aurelia-v1.0.7", "aurelia-v1.0.7/dist"),
3131
f("bobril-v4.49.2"),
3232
f("cyclejs-dom-v14.1.0"),
33-
f("dio-v2.1.0"),
33+
f("dio-v3.0.5"),
3434
f("domvm-v1.2.10"),
3535
f("domvm-v2.0.0-beta"),
3636
f("ember-v2.6.1", "ember-v2.6.1/dist"),

0 commit comments

Comments
 (0)