Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Deprecated '[un]glue', replaced with '[un]clip'. #324

Merged
merged 1 commit into from
Jan 21, 2014
Merged

Deprecated '[un]glue', replaced with '[un]clip'. #324

merged 1 commit into from
Jan 21, 2014

Conversation

JamesMGreene
Copy link
Member

Also had a bit of scope creep sneak in here in the form of event handling system enhancements:

  • jQuery-style event maps support for on and off
  • EventListener interface support for dispatch's downstream functions

Applies partially to Issues #286 and #289 but does not fix either in whole.

You will likely notice a few changes within this PR that are suggestive of other incoming changes (e.g. renaming flashState members noflashdisabled and wrongflashoutdated) that I didn't want to fully undo from my local changes.

Applies partially to Issues #286 and #289 but does not fix either in
whole.
var htmlBridge = flashBridge && flashBridge.parentNode;
while (htmlBridge && isFlashElement.test(htmlBridge.tagName.toLowerCase()) && htmlBridge.parentNode) {
while (htmlBridge && isFlashElement.test(htmlBridge.nodeName) && htmlBridge.parentNode) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because nodeName is always uppercase: http://ejohn.org/blog/nodename-case-sensitivity/

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jonrohan
Copy link
Contributor

cool, looks good. 💥

@JamesMGreene JamesMGreene merged commit 8159d5a into zeroclipboard:master Jan 21, 2014
@JamesMGreene JamesMGreene deleted the clip_unclip branch January 21, 2014 06:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants