Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Add nameChanged handler #6

Merged
merged 1 commit into from
Nov 24, 2014
Merged

Conversation

jeffposnick
Copy link
Contributor

The nameChanged handler leads to the expected behavior if the name attribute changes, in that it will attempt to load the value corresponding to the localStorage cache with the key name.

Since nameChanged is fired when the name attribute is initially set, it shouldn't be necessary to call load within the attached handler anymore. (At least I don't think it is.)

The `nameChanged` handler leads to the expected behavior if the `name` attribute changes, in that it will attempt to load the `value` corresponding to the `localStorage` cache with the key `name`.
@addyosmani
Copy link
Contributor

@frankiefu PTAL when you get a chance :)

@frankiefu
Copy link
Contributor

lgtm

frankiefu added a commit that referenced this pull request Nov 24, 2014
@frankiefu frankiefu merged commit 2e95667 into googlearchive:master Nov 24, 2014
@addyosmani
Copy link
Contributor

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants