Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * first add meteor packages:
- * meteor add dhtmlx:gantt
- * meteor add dhtmlx:gantt-data
- * @author daithi coombes <webeire@gmail.com>
- */
- TasksCollection = new Mongo.Collection("tasks");
- LinksCollection = new Mongo.Collection("links");
- if(Meteor.isClient){
- Meteor.startup(function(){
- gantt.init("gantt_here");
- gantt.meteor({tasks: TasksCollection, links: LinksCollection});
- console.log('nipple nipple');
- })
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement