Skip to content

Commit f3e6f02

Browse files
committed
platform.js->webcomponents.js
1 parent 0cc0264 commit f3e6f02

File tree

4 files changed

+65
-65
lines changed

4 files changed

+65
-65
lines changed

bower.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
{
2-
"name": "aha-table",
3-
"version": "1.0.10",
4-
"description": "Polymer Element for aha-table, a searchable, sortable, editable, selectable, paginatable, copyable, removeable table/grid.",
5-
"authors": [
6-
"Louis Liu"
7-
],
8-
"license": "MIT",
9-
"main": "dist/aha-table.html",
10-
"keywords": [
11-
"polymer",
12-
"web-components"
13-
],
14-
"ignore": [
15-
"**/.*",
16-
"node_modules",
17-
"bower_components"
18-
],
19-
"dependencies": {
20-
"polymer": "Polymer/polymer#~0.2.4"
21-
}
2+
"name": "aha-table",
3+
"version": "1.1.0",
4+
"description": "Polymer Element for aha-table, a searchable, sortable, editable, selectable, paginatable, copyable, removeable table/grid.",
5+
"authors": [
6+
"Louis Liu"
7+
],
8+
"license": "MIT",
9+
"main": "dist/aha-table.html",
10+
"keywords": [
11+
"polymer",
12+
"web-components"
13+
],
14+
"ignore": [
15+
"**/.*",
16+
"node_modules",
17+
"bower_components"
18+
],
19+
"dependencies": {
20+
"polymer": "Polymer/polymer#~0.5.0"
21+
}
2222
}

demo/performance.html

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
1-
<!DOCTYPE html>
2-
<html>
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<title>&lt;aha-table&gt; Performance test</title>
7-
<meta name="description" content="">
8-
<meta name="viewport" content="width=device-width, initial-scale=1">
9-
10-
<!-- Importing Web Component's Polyfill -->
11-
<script src="../bower_components/platform/platform.js"></script>
12-
13-
<!-- Importing Custom Elements -->
14-
<link rel="import" href="../src/aha-table.html">
15-
</head>
16-
<body>
17-
<aha-table id="raw"></aha-table>
18-
<script>
19-
var dates = ['2012-12-21', '2013-2-15', '2014-3-8'],
20-
titles = ["gym", "cafe", "work", "bar", "park"],
21-
types = ["private", "public"],
22-
contents = ["do it best", "just do it", "do as you wish", "no stop"],
23-
enableds = [true, false];
24-
25-
var now = new Date();
26-
var events = [];
27-
for (var i = 0; i<1000; i++) {
28-
events.push({
29-
title: titles[Math.ceil(Math.random()*titles.length)-1],
30-
date: dates[Math.ceil(Math.random()*dates.length)-1],
31-
type: types[Math.ceil(Math.random()*types.length)-1],
32-
content: contents[Math.ceil(Math.random()*contents.length)-1],
33-
enabled: enableds[Math.ceil(Math.random()*enableds.length)-1]
34-
});
35-
};
36-
var raw = document.getElementById("raw");
37-
window.addEventListener("polymer-ready", function(){
38-
raw.data = events;
39-
});
40-
</script>
41-
</body>
42-
</html>
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<title>&lt;aha-table&gt; Performance test</title>
7+
<meta name="description" content="">
8+
<meta name="viewport" content="width=device-width, initial-scale=1">
9+
10+
<!-- Importing Web Component's Polyfill -->
11+
<script src="bower_components/webcomponentsjs/webcomponents.min.js"></script>
12+
13+
<!-- Importing Custom Elements -->
14+
<link rel="import" href="../src/aha-table.html">
15+
</head>
16+
<body>
17+
<aha-table id="raw"></aha-table>
18+
<script>
19+
var dates = ['2012-12-21', '2013-2-15', '2014-3-8'],
20+
titles = ["gym", "cafe", "work", "bar", "park"],
21+
types = ["private", "public"],
22+
contents = ["do it best", "just do it", "do as you wish", "no stop"],
23+
enableds = [true, false];
24+
25+
var now = new Date();
26+
var events = [];
27+
for (var i = 0; i<1000; i++) {
28+
events.push({
29+
title: titles[Math.ceil(Math.random()*titles.length)-1],
30+
date: dates[Math.ceil(Math.random()*dates.length)-1],
31+
type: types[Math.ceil(Math.random()*types.length)-1],
32+
content: contents[Math.ceil(Math.random()*contents.length)-1],
33+
enabled: enableds[Math.ceil(Math.random()*enableds.length)-1]
34+
});
35+
};
36+
var raw = document.getElementById("raw");
37+
window.addEventListener("polymer-ready", function(){
38+
raw.data = events;
39+
});
40+
</script>
41+
</body>
42+
</html>

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99

1010
<!-- Importing Web Component's Polyfill -->
11-
<script src="//cdnjs.cloudflare.com/ajax/libs/polymer/0.2.4/platform.js"></script>
11+
<script src="bower_components/webcomponentsjs/webcomponents.min.js"></script>
1212

1313
<!-- Importing Custom Elements -->
1414
<link rel="import" href="src/aha-table.html">

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"devDependencies": {
44
"grunt": "~0.4.1",
55
"grunt-cli": "~0.1.9",
6-
"grunt-contrib-connect": "~0.5.0",
6+
"grunt-contrib-connect": "~0.9.0",
77
"grunt-gh-pages": "~0.9.1",
8-
"grunt-text-replace": "~0.3.11"
8+
"grunt-text-replace": "~0.4.0"
99
}
1010
}

0 commit comments

Comments
 (0)