Commit c83b3046df7dfa5e7d22b2d6ada3b79e9d4d6514

Bad hack to workaround plugin loading problems
  
8383 }
8484 }
8585 else if(this.get('src').match(/\.css/)) {
86 console.log('css plugin found.. <'+ this.get('src')+'> loading it..');
86 //console.log('css plugin found.. <'+ this.get('src')+'> loading it..');
8787 var link = document.createElement('link');
8888 link.rel = 'stylesheet';
8989 link.href = this.get('src');
  
105105 showSurvey: function(x) {
106106 this.showPage('survey');
107107 var station = x;
108 CRP.vizInit(x);
108 //bad hack to circumvent plugin loading problems
109 //not even foolproof.
110 //TODO: should implement plugin loaders
111 try {
112 if(CRP.vizInit) {
113 CRP.vizInit(x);
114 }
115 else {
116 setTimeout(function() {
117 CRP.vizInit(x);
118 }, 3000);
119 }
120 } catch(e) {
121 setTimeout(function() {
122 CRP.vizInit(x);
123 }, 3000);
124 }
109125 },
110126 showPage: function(page, subpage, evenmore) {
111127 //console.log(page);