Index: polymer_0.5.0/bower_components/core-localstorage/core-localstorage.html |
diff --git a/bower_components/core-localstorage/core-localstorage.html b/polymer_0.5.0/bower_components/core-localstorage/core-localstorage.html |
similarity index 97% |
rename from bower_components/core-localstorage/core-localstorage.html |
rename to polymer_0.5.0/bower_components/core-localstorage/core-localstorage.html |
index 3bd697bb777f210f31d2ddcb727a3f9c427546f9..e06c00864089bcba13da75c02c6f96c9cf043e4a 100644 |
--- a/bower_components/core-localstorage/core-localstorage.html |
+++ b/polymer_0.5.0/bower_components/core-localstorage/core-localstorage.html |
@@ -72,16 +72,15 @@ triggered only when value is a different instance. |
*/ |
autoSaveDisabled: false, |
- attached: function() { |
- // wait for bindings are all setup |
- this.async('load'); |
- }, |
- |
valueChanged: function() { |
if (this.loaded && !this.autoSaveDisabled) { |
this.save(); |
} |
}, |
+ |
+ nameChanged: function() { |
+ this.load(); |
+ }, |
load: function() { |
var v = localStorage.getItem(this.name); |