Permalink
Browse files

corrected selector name and removed extra stuff

  • Loading branch information...
1 parent fda5524 commit b9f308aea4b3da551c4204e86a0374d40d469c0d @ankitgaurav ankitgaurav committed Mar 11, 2016
Showing with 1 addition and 23 deletions.
  1. +1 −23 summernote-meteor-example.js
@@ -1,29 +1,7 @@
if (Meteor.isClient) {
- // counter starts at 0
- Session.setDefault('counter', 0);
-
- Template.hello.helpers({
- counter: function () {
- return Session.get('counter');
- }
- });
-
- Template.hello.events({
- 'click button': function () {
- // increment the counter when button is clicked
- Session.set('counter', Session.get('counter') + 1);
- }
- });
-
Template.editor.rendered = function () {
- $('.summernote').summernote({
+ $('#summernote').summernote({
height: 200
});
};
}
-
-if (Meteor.isServer) {
- Meteor.startup(function () {
- // code to run on server at startup
- });
-}

0 comments on commit b9f308a

Please sign in to comment.