Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add in methods for adding and removing flapper digits on the fly #13

Merged
merged 1 commit into from Aug 17, 2015

Conversation

jeremysawesome
Copy link
Contributor

@jayKayEss - I found myself needing to add/remove digits to the flapper on the fly. So I've modified the original code to allow for adding/removing digits.

Notable Changes:

  • existing flappers are stored in a flappers object
  • ids are added to flapper elements (so that the existing flapper object can be recovered).
  • the .flapper() jQuery method now supports passing in a string or an object. (so that the specified action will be performed)
  • the following methods were added to the prototype: addDigit, removeDigit, performAction

Let me know what you think!

@jeremysawesome jeremysawesome force-pushed the AddRemoveDigitMethods branch 2 times, most recently from 29c7b39 to 4c9cdba Compare August 5, 2015 07:05
@jayKayEss
Copy link
Owner

Hey @jeremysawesome looks pretty good! Do you mind updating the docs, too (so I don't have to :D) Thanks.

jayKayEss added a commit that referenced this pull request Aug 17, 2015
Add in methods for adding and removing flapper digits on the fly
@jayKayEss jayKayEss merged commit a52c324 into jayKayEss:master Aug 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants