Skip to content

Commit 77452e5

Browse files
committed
fix meta reading error.
1 parent 4031a0c commit 77452e5

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
# <aha-table> ![Bower Version](https://badge.fury.io/bo/aha-table.svg)
22

3-
> A Polymer element for a searchable, sortable, paginatable, inline-editable, selectable table/grid.
3+
> A Polymer element for a searchable, sortable, paginatable, inline-editable, selectable, copyable, removable table/grid.
44
55
## Demo
66

77
[Check it live!](http://liuwenchao.github.io/aha-table)
88

9+
[Performance Test!](http://liuwenchao.github.io/aha-table/performance.html)
10+
11+
912
## Usage
1013

1114
1. Install the component using [Bower](http://bower.io/):

src/aha-table.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -769,9 +769,10 @@
769769
searchplaceholder: undefined,
770770
ready: function() {
771771
if (this.dataset.choices) {
772-
JSON.parse(this.dataset.choices).forEach(function(option) {
772+
var choices = JSON.parse(this.dataset.choices);
773+
for(option in choices) {
773774
this.options.push({'value': option, 'label': choices[option]});
774-
}, this);
775+
}
775776
}
776777
}
777778
});

0 commit comments

Comments
 (0)