Skip to content

Instantly share code, notes, and snippets.

@gabrielhpugliese
Created August 31, 2014 14:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabrielhpugliese/f077df795e1bbd14e03b to your computer and use it in GitHub Desktop.
Save gabrielhpugliese/f077df795e1bbd14e03b to your computer and use it in GitHub Desktop.
Template.main.rendered = function () {
var self = this;
_.defer(function () {
self.$('div').plugin();
});
};
// ou tenta isso:
Template.main.rendered = function () {
var self = this;
Meteor.setTimeout(function () {
self.$('div').plugin();
}, 500);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment