From 86dee3fe5a117e06d006e4736c485582dfe25ccd Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Tue, 30 Jun 2015 22:57:21 -0700 Subject: [PATCH] Site updated at 2015-07-01 05:57:21 UTC --- atom.xml | 2 +- blog/categories/architecture/atom.xml | 2 +- blog/categories/branding/atom.xml | 2 +- blog/categories/component/atom.xml | 2 +- blog/categories/core/atom.xml | 2 +- blog/categories/frontend/atom.xml | 2 +- blog/categories/release-notes/atom.xml | 2 +- blog/categories/website/atom.xml | 2 +- demo/frontend.html | 173 +++++++++++++++++++------ sitemap.xml | 162 +++++++++++------------ 10 files changed, 221 insertions(+), 130 deletions(-) diff --git a/atom.xml b/atom.xml index 41de396c1a..511f5f023f 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2015-06-25T00:06:36-07:00 + 2015-06-30T22:57:13-07:00 https://home-assistant.io/ diff --git a/blog/categories/architecture/atom.xml b/blog/categories/architecture/atom.xml index 2878e953c4..4cc91d3c9f 100644 --- a/blog/categories/architecture/atom.xml +++ b/blog/categories/architecture/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: architecture | Home Assistant]]> - 2015-06-25T00:06:36-07:00 + 2015-06-30T22:57:13-07:00 https://home-assistant.io/ diff --git a/blog/categories/branding/atom.xml b/blog/categories/branding/atom.xml index 454b4107ea..d946b56d76 100644 --- a/blog/categories/branding/atom.xml +++ b/blog/categories/branding/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: branding | Home Assistant]]> - 2015-06-25T00:06:36-07:00 + 2015-06-30T22:57:13-07:00 https://home-assistant.io/ diff --git a/blog/categories/component/atom.xml b/blog/categories/component/atom.xml index b806905d4d..34f833cc49 100644 --- a/blog/categories/component/atom.xml +++ b/blog/categories/component/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: component | Home Assistant]]> - 2015-06-25T00:06:36-07:00 + 2015-06-30T22:57:13-07:00 https://home-assistant.io/ diff --git a/blog/categories/core/atom.xml b/blog/categories/core/atom.xml index 237542957a..c1d46bcef5 100644 --- a/blog/categories/core/atom.xml +++ b/blog/categories/core/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: core | Home Assistant]]> - 2015-06-25T00:06:36-07:00 + 2015-06-30T22:57:13-07:00 https://home-assistant.io/ diff --git a/blog/categories/frontend/atom.xml b/blog/categories/frontend/atom.xml index b933517ef9..257d88b8bb 100644 --- a/blog/categories/frontend/atom.xml +++ b/blog/categories/frontend/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: frontend | Home Assistant]]> - 2015-06-25T00:06:36-07:00 + 2015-06-30T22:57:13-07:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 1740eb7f62..657998e9f0 100644 --- a/blog/categories/release-notes/atom.xml +++ b/blog/categories/release-notes/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: release-notes | Home Assistant]]> - 2015-06-25T00:06:36-07:00 + 2015-06-30T22:57:13-07:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index 2667fb68b5..37f0c80fda 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: website | Home Assistant]]> - 2015-06-25T00:06:36-07:00 + 2015-06-30T22:57:13-07:00 https://home-assistant.io/ diff --git a/demo/frontend.html b/demo/frontend.html index 9af0f50c1f..f6bfa7e469 100644 --- a/demo/frontend.html +++ b/demo/frontend.html @@ -6279,7 +6279,7 @@ function(t,e){"use strict";function n(t,e){if(Array.isArray(t))return t;if(Symbo function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}function o(t,e){var n=e.pane,r=e.filter,i=void 0===r?null:r;return c.toImmutable({pane:n,filter:i})}function a(t){return _.getInitialState()}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n :root { --dark-primary-color: #0288D1; @@ -17710,22 +17711,26 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN }, listeners: { - 'passwordInput.keydown': 'passwordKeyDown', + 'keydown': 'passwordKeyDown', 'loginButton.click': 'validatePassword', }, - // attached: function() { - // this.focusPassword(); - // }, + observers: [ + 'validatingChanged(isValidating, isInvalid)', + ], - isValidatingChanged: function(newVal) { - if (!newVal) { - setTimeout(this.focusPassword.bind(this), 0); + validatingChanged: function(isValidating, isInvalid) { + if (!isValidating && !isInvalid) { + this.$.passwordInput.value = ''; } }, - focusPassword: function() { - this.$.passwordInput.focus(); + isValidatingChanged: function(newVal) { + if (!newVal) { + this.debounce('focus-password', function() { + this.$.passwordInput.focus(); + }.bind(this), 1); + } }, passwordKeyDown: function(ev) { @@ -20402,6 +20407,62 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN }); })(); + + + + + + + +