Created
October 20, 2015 12:32
-
-
Save gustavlrsn/7570cb2c9a51170f066a 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
Template.body.rendered({ | |
$textarea = ('#textarea-selector', $(this.firstNode)); // Second argument establishes jQuery context | |
$textarea.autosize(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment