Created
June 8, 2015 15:04
-
-
Save elsehow/b08a35a5e24d2383b79d to your computer and use it in GitHub Desktop.
This file contains 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
# find the first match for selector within $div | |
$findIn = ($div, selector) -> $div.find(selector).first() | |
$setEnabled = ($div, value) -> $div.prop('disabled', !value) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment