Created
March 30, 2014 18:26
-
-
Save wbashir/9877344 to your computer and use it in GitHub Desktop.
Rendered Call Back - Meteor initializing JQuery plugins
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
<template name="t1"> | |
<select id="selector"></select> | |
</template> | |
Tempalate['t1'].rendered = function(){ | |
//attach to a DOM element with JQuery plugin | |
$('#selector').someJQueryPluginIn({}); //initializing | |
} |
Template
You have an extra "a" in there.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i got
Uncaught ReferenceError: Tempalate is not defined
any idea why ?