mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00

Move from using depreciated event declaration style. Still supported not sure if future proof (see https://github.com/meteor/meteor/blob/devel/packages/templating/deftempl ate.js#L184)
12 lines
No EOL
252 B
JavaScript
12 lines
No EOL
252 B
JavaScript
Template.no_account.helpers({
|
|
landingPageText: function(){
|
|
return getSetting("landingPageText");
|
|
}
|
|
});
|
|
Template.no_account.events({
|
|
'click .twitter-button': function(){
|
|
Meteor.loginWithTwitter(function(){
|
|
Router.go('/');
|
|
});
|
|
}
|
|
}); |