Skip to content

Commit

Permalink
Fix compound handling of compound options in web components
Browse files Browse the repository at this point in the history
  • Loading branch information
petyosi committed Sep 14, 2015
1 parent b027c7f commit fc80fda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kendo.webcomponents.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ var __meta__ = { // jshint ignore:line
var result = {};

Object.keys(options).concat("dataSource").forEach(function(name) {
if (element.hasAttribute(name)) {
result[name] = parseOption(element, name);
if (element.hasAttribute(kendo.toHyphens(name))) {
result[name] = parseOption(element, kendo.toHyphens(name));
}
});

Expand Down

0 comments on commit fc80fda

Please sign in to comment.