Advertisement
Guest User

Untitled

a guest
Jul 28th, 2015
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. /**
  2. * first add meteor packages:
  3. * meteor add dhtmlx:gantt
  4. * meteor add dhtmlx:gantt-data
  5. * @author daithi coombes <webeire@gmail.com>
  6. */
  7.  
  8. TasksCollection = new Mongo.Collection("tasks");
  9. LinksCollection = new Mongo.Collection("links");
  10.  
  11. if(Meteor.isClient){
  12. Meteor.startup(function(){
  13. gantt.init("gantt_here");
  14. gantt.meteor({tasks: TasksCollection, links: LinksCollection});
  15.  
  16. console.log('nipple nipple');
  17. })
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement