Created
March 20, 2014 18:56
-
-
Save bcardarella/9671228 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This doesn't work because the method is always unique | |
| Ember.run.debounce(this, function() { | |
| // blah blah blah | |
| }, 1000); | |
| // This would run a comparison against target & "unique-id" rather than target & method | |
| Ember.run.debounce(this, function() { | |
| // blah blah blah | |
| }, 1000, 'unique-id'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment