codesite-noreply at google.com
2009-Sep-20 15:04 UTC
[Mapstraction] [mapstraction] r33 committed - mxn.(provider).core.js passes jslint, and removed deprecated method dr...
Revision: 33 Author: freyfogle Date: Sun Sep 20 08:03:05 2009 Log: mxn.(provider).core.js passes jslint, and removed deprecated method draggable http://code.google.com/p/mapstraction/source/detail?r=33 Modified: /trunk/build.xml /trunk/source/mxn.(provider).core.js ======================================--- /trunk/build.xml Sun Sep 20 06:30:15 2009 +++ /trunk/build.xml Sun Sep 20 08:03:05 2009 @@ -59,16 +59,21 @@ </java> <java jar="tools/rhino/js.jar" fork="true" failonerror="true"> <arg value="tools/jslint/jslint.js"/> - <arg value="${build.dir}/mxn.google.core.js"/> + <arg value="${build.dir}/mxn.(provider).core.js"/> </java> <java jar="tools/rhino/js.jar" fork="true" failonerror="true"> <arg value="tools/jslint/jslint.js"/> - <arg value="${build.dir}/mxn.googlev3.core.js"/> + <arg value="${build.dir}/mxn.cloudmade.core.js"/> </java> <java jar="tools/rhino/js.jar" fork="true" failonerror="true"> <arg value="tools/jslint/jslint.js"/> - <arg value="${build.dir}/mxn.cloudmade.core.js"/> + <arg value="${build.dir}/mxn.google.core.js"/> </java> + <java jar="tools/rhino/js.jar" fork="true" failonerror="true"> + <arg value="tools/jslint/jslint.js"/> + <arg value="${build.dir}/mxn.googlev3.core.js"/> + </java> + <!-- document our sources --> <echo>--- DOC ---</echo> ======================================--- /trunk/source/mxn.(provider).core.js Sun Aug 16 17:18:10 2009 +++ /trunk/source/mxn.(provider).core.js Sun Sep 20 08:03:05 2009 @@ -42,12 +42,6 @@ // TODO: Add provider code }, - dragging: function(on) { - var map = this.maps[this.api]; - - // TODO: Add provider code - }, - setCenterAndZoom: function(point, zoom) { var map = this.maps[this.api]; var pt = point.toProprietary(this.api); @@ -109,7 +103,7 @@ setCenter: function(point, options) { var map = this.maps[this.api]; var pt = point.toProprietary(this.api); - if(options && options[''pan'']) { + if(options && options.pan) { // TODO: Add provider code } else {