vendor/assets/javascripts/dojox/analytics/_base.js in dojox-rails-0.13.0 vs vendor/assets/javascripts/dojox/analytics/_base.js in dojox-rails-0.14.0

- old
+ new

@@ -7,10 +7,12 @@ this.inTransitRetry=_2["inTransitRetry"]||200; this.dataUrl=_2["analyticsUrl"]||require.toUrl("dojox/analytics/logger/dojoxAnalytics.php"); this.sendMethod=_2["sendMethod"]||"xhrPost"; this.maxRequestSize=_5("ie")?2000:_2["maxRequestSize"]||4000; _3(this,"schedulePusher"); -_4.addOnUnload(this,"pushData",true); +_4.addOnUnload(this,function(){ +this.pushData(); +}); }; _1.extend(_a,{schedulePusher:function(_b){ setTimeout(_1.hitch(this,"checkData"),_b||this.sendInterval); },addData:function(_c,_d){ if(arguments.length>2){