{"size": 625, "ext": "js", "max_stars_repo_path": "client/layouts/js/over.js", "max_stars_repo_name": "jadedagher/z", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "client/layouts/js/over.js", "max_issues_repo_name": "jadedagher/z", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "client/layouts/js/over.js", "max_forks_repo_name": "jadedagher/z", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 18.3823529412, "max_line_length": 56, "alphanum_fraction": 0.6128}
import { Template } from 'meteor/templating';
import { Cookies } from 'meteor/mrt:cookies';
import d3 from 'd3';

import { Bids } from '../../../api/collections.js';

import '../html/over.html';

// style
Template.over.onRendered(function () {

  var body = d3.select('body')
      .style("opacity", "0")
      .transition().duration(700).style("opacity", "1");
});

Template.over.onCreated(function bodyOnCreated() {

	if(Meteor.user()===null){
	    FlowRouter.go('/');
	    Template.over.hide();   
	}
});

Template.over.helpers({
});

Template.over.events({
	
	'click .back_home'(){
    	FlowRouter.go('home');
    }
 
});