Template.home.helpers({
    counter: function() {
        return Session.get('counter');
    }
});

Template.home.events({
    'click button': function() {
        // increment the counter when button is clicked
        Session.set('counter', Session.get('counter') + 1);
    }
});

Template.events_list.helpers({
    'active_events': function(){
        return Events.find({status:{"$ne":'deleted'}});
    }
});

Template.events_edit_modal.helpers({
    'current_event': function(){
        var template = Template.instance();
        return Events.findOne({_id: template.data.id});
    }
});

Template.events_details.circularOptions = function() {
    return {
        'canvasSize': 100,
        'arcWidth': 10,
        'sessionValueKey': 'progressPercent',
        'tweenDuration': 500,
        'progressClass': 'progress-positive',
    }
}

Template.home.helpers({
    counter: function() {
        return Session.get('counter');
    }
});

Template.home.events({
    'click button': function() {
        // increment the counter when button is clicked
        Session.set('counter', Session.get('counter') + 1);
    }
});

Template.events_list.helpers({
    'active_events': function() {
        return Events.find({
            status: {
                "$ne": 'deleted'
            }
        });
    }
});

Template.events_edit_modal.helpers({
    'current_event': function() {
        var template = Template.instance();
        return Events.findOne({
            _id: template.data.id
        });
    }
});

Template.events_details.helpers({
    circularOptions: function() {
        return {
            'canvasSize': 100,
            'arcWidth': 10,
            'sessionValueKey': 'progressPercent',
            'tweenDuration': 500,
            'progressClass': 'progress-positive',
        };
    }
});

use helper to remove depracation warning