Commit 8e1e7901a6214e2c38dea7ef8aefffb3022c23e9

  • avatar
  • arvind
  • Wed Mar 26 04:59:10 IST 2014
Adding page for llv viz
  • Diff rendering mode:
  • inline
  • side by side

mouchak/static/js/mouchak.js

187 this.showPage('mobile-usage');187 this.showPage('mobile-usage');
188 try {188 try {
189 if(CRP.mv.init) {189 if(CRP.mv.init) {
190 CRP.mv.init();
190 CRP.mv.init('/static/weekly-statistics.csv');
191 }191 }
192 else {192 else {
193 setTimeout(function() {193 setTimeout(function() {
194 CRP.mv.init();
194 CRP.mv.init('/static/weekly-statistics.csv');
195 }, 2000);195 }, 2000);
196 }196 }
197 } catch(e) {197 } catch(e) {
198 setTimeout(function() {198 setTimeout(function() {
199 CRP.mv.init();
199 CRP.mv.init('/static/weekly-statistics.csv');
200 }, 2000);200 }, 2000);
201 }201 }
202 },202 },
203 showGKAMU: function() {
204 //bad hack to circumvent plugin loading problems
205 //not even foolproof.
206 //TODO: should implement plugin loaders
207 this.showPage('gka-mobile-usage');
208 try {
209 if(CRP.gmv.init) {
210 CRP.gmv.init('/static/llv-weekly-statistics.csv');
211 }
212 else {
213 setTimeout(function() {
214 CRP.gmv.init('/static/llv-weekly-statistics.csv');
215 }, 2000);
216 }
217 } catch(e) {
218 setTimeout(function() {
219 CRP.gmv.init('/static/llv-weekly-statistics.csv');
220 }, 2000);
221 }
222 },
223
203 showSigViz: function() {224 showSigViz: function() {
204 //bad hack to circumvent plugin loading problems225 //bad hack to circumvent plugin loading problems
205 //not even foolproof.226 //not even foolproof.