| 1 | { |
| 2 | "insert": { |
| 3 | "OPTIONS": "\t\tzoomMin: 1,\n\t\tzoomMax: 4, startZoom: 1,", |
| 4 | "DEFAULTS": "\tthis.scale = Math.min(Math.max(this.options.startZoom, this.options.zoomMin), this.options.zoomMax);", |
| 5 | "_init": "\t\tif ( this.options.zoom ) {\n\t\t\tthis._initZoom();\n\t\t}" |
| 6 | }, |
| 7 | "replace": { |
| 8 | "refresh": "zoom/refresh.js", |
| 9 | "_translate": "\t\t\tthis.scrollerStyle[utils.style.transform] = 'translate(' + x + 'px,' + y + 'px) scale(' + this.scale + ') ' + this.translateZ;" |
| 10 | } |
| 11 | } |