vendor/assets/javascripts/dojox/charting/action2d/TouchZoomAndPan.js in dojox-rails-0.13.0 vs vendor/assets/javascripts/dojox/charting/action2d/TouchZoomAndPan.js in dojox-rails-0.14.0

- old
+ new

@@ -32,14 +32,14 @@ this.enableZoom=_d.enableScroll!=undefined?_d.enableZoom:true; this._uName="touchZoomPan"+this.axis; this.connect(); },connect:function(){ this.inherited(arguments); -if(_4("safari")&&this.chart.surface.declaredClass.indexOf("svg")!=-1){ +if(_4("ios")&&this.chart.surface.declaredClass.indexOf("svg")!=-1){ this.chart.addPlot(this._uName,{type:_9}); } },disconnect:function(){ -if(_4("safari")&&this.chart.surface.declaredClass.indexOf("svg")!=-1){ +if(_4("ios")&&this.chart.surface.declaredClass.indexOf("svg")!=-1){ this.chart.removePlot(this._uName); } this.inherited(arguments); },onTouchStart:function(_e){ var _f=this.chart,_10=_f.getAxis(this.axis);