Skip to content

Commit

Permalink
Merge pull request #1717 from lablup/master
Browse files Browse the repository at this point in the history
Fix for IE.
  • Loading branch information
Steve Orvell committed Jun 4, 2015
2 parents b8ffcdd + 1f3b4ea commit 896a04b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/custom-style.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
rule.selector = 'body';
}
var css = rule.cssText = rule.parsedCssText;
if (rule.propertyInfo.cssText) {
if (rule.propertyInfo && rule.propertyInfo.cssText) {
// TODO(sorvell): factor better
// remove property assignments so next function isn't confused
css = css.replace(propertyUtils.rx.VAR_ASSIGN, '');
Expand Down
4 changes: 2 additions & 2 deletions src/lib/style-properties.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
applyProperties: function(rule, props) {
var output = '';
// dynamically added sheets may not be decorated so ensure they are.
if (!rule.properties) {
if (!rule.propertyInfo) {
this.decorateRule(rule);
}
if (rule.propertyInfo.cssText) {
Expand Down Expand Up @@ -349,4 +349,4 @@

})();

</script>
</script>

0 comments on commit 896a04b

Please sign in to comment.