Upgraded home-assistant-js in frontend

This commit is contained in:
Paulus Schoutsen 2015-02-17 00:57:20 -08:00
parent 6119e1e660
commit fd77e0e31d
4 changed files with 8 additions and 6 deletions

View File

@ -1,2 +1,2 @@
""" DO NOT MODIFY. Auto-generated by build_frontend script """ """ DO NOT MODIFY. Auto-generated by build_frontend script """
VERSION = "14fb39cdbc1c103611d2c3d81558737d" VERSION = "84205c070e3e5992ace85220c4cd3da6"

File diff suppressed because one or more lines are too long

@ -1 +1 @@
Subproject commit d5861a195417c213284045ce59e7a20c7f9c8fb6 Subproject commit 002f04e6cce669b3d144c38007884cddc3478d20

View File

@ -51,6 +51,8 @@ Polymer({
}, },
stateAttributesChanged: function(oldVal, newVal) { stateAttributesChanged: function(oldVal, newVal) {
if (!newVal) return;
this.classNames = Object.keys(newVal).map( this.classNames = Object.keys(newVal).map(
function(key) { return "has-" + key; }).join(' '); function(key) { return "has-" + key; }).join(' ');
}, },