12.5 MB
/srv/reproducible-results/rbuild-debian/r-b-build.23FnhKPr/b1/openlayers_2.13.1+ds2-10_armhf.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.23FnhKPr/b2/openlayers_2.13.1+ds2-10_armhf.changes
230 B
Files
    
Offset 1, 2 lines modifiedOffset 1, 2 lines modified
  
1 ·c5b7e5c200b9cd4991cea7757a73d3c3·715764·javascript·optional·libjs-openlayers_2.13.1+ds2-10_all.deb1 ·3965f4e677fd5a8b4d1b9cbc6222579e·730016·javascript·optional·libjs-openlayers_2.13.1+ds2-10_all.deb
12.5 MB
libjs-openlayers_2.13.1+ds2-10_all.deb
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2023-01-14·13:27:41.000000·debian-binary1 -rw-r--r--···0········0········0········4·2023-01-14·13:27:41.000000·debian-binary
2 -rw-r--r--···0········0········0·····3680·2023-01-14·13:27:41.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3680·2023-01-14·13:27:41.000000·control.tar.xz
3 -rw-r--r--···0········0········0···711892·2023-01-14·13:27:41.000000·data.tar.xz3 -rw-r--r--···0········0········0···726144·2023-01-14·13:27:41.000000·data.tar.xz
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
12.5 MB
data.tar.xz
12.5 MB
data.tar
3.28 MB
./usr/share/javascript/openlayers/OpenLayers.js
3.28 MB
js-beautify {}
    
Offset 52, 14 lines modifiedOffset 52, 37 lines modified
52 ·*·SUBSTITUTE·GOODS·OR·SERVICES;·LOSS·OF·USE,·DATA,·OR·PROFITS;·OR·BUSINESS52 ·*·SUBSTITUTE·GOODS·OR·SERVICES;·LOSS·OF·USE,·DATA,·OR·PROFITS;·OR·BUSINESS
53 ·*·INTERRUPTION)·HOWEVER·CAUSED·AND·ON·ANY·THEORY·OF·LIABILITY,·WHETHER·IN53 ·*·INTERRUPTION)·HOWEVER·CAUSED·AND·ON·ANY·THEORY·OF·LIABILITY,·WHETHER·IN
54 ·*·CONTRACT,·STRICT·LIABILITY,·OR·TORT·(INCLUDING·NEGLIGENCE·OR·OTHERWISE)54 ·*·CONTRACT,·STRICT·LIABILITY,·OR·TORT·(INCLUDING·NEGLIGENCE·OR·OTHERWISE)
55 ·*·ARISING·IN·ANY·WAY·OUT·OF·THE·USE·OF·THIS·SOFTWARE,·EVEN·IF·ADVISED·OF·THE·55 ·*·ARISING·IN·ANY·WAY·OUT·OF·THE·USE·OF·THIS·SOFTWARE,·EVEN·IF·ADVISED·OF·THE·
56 ·*·POSSIBILITY·OF·SUCH·DAMAGE.56 ·*·POSSIBILITY·OF·SUCH·DAMAGE.
57 ·*/57 ·*/
58 /*·======================================================================58 /*·======================================================================
 59 ····Rico/license.js
 60 ···======================================================================·*/
  
 61 /**
 62 ·*·@license·Apache·2·
 63 ·*··
 64 ·*·Contains·portions·of·Rico·<http://openrico.org/>
 65 ·*·
 66 ·*·Copyright·2005·Sabre·Airline·Solutions··
 67 ·*
 68 ·*·Licensed·under·the·Apache·License,·Version·2.0·(the·"License");·you
 69 ·*·may·not·use·this·file·except·in·compliance·with·the·License.·You
 70 ·*·may·obtain·a·copy·of·the·License·at
 71 ·*
 72 ·*·····http://www.apache.org/licenses/LICENSE-2.0··
 73 ·*
 74 ·*·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
 75 ·*·distributed·under·the·License·is·distributed·on·an·"AS·IS"·BASIS,
 76 ·*·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY·KIND,·either·express·or
 77 ·*·implied.·See·the·License·for·the·specific·language·governing
 78 ·*·permissions·and·limitations·under·the·License.·
 79 ·*/
 80 /*·======================================================================
59 ····OpenLayers/SingleFile.js81 ····OpenLayers/SingleFile.js
60 ···======================================================================·*/82 ···======================================================================·*/
  
61 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for83 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for
62 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.84 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.
63 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the85 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the
64 ·*·full·text·of·the·license.·*/86 ·*·full·text·of·the·license.·*/
Offset 136, 14 lines modifiedOffset 159, 395 lines modified
136 ·····*·(code)159 ·····*·(code)
137 ·····*···<link·rel="stylesheet"·href="/path/to/default/style.css"··type="text/css">160 ·····*···<link·rel="stylesheet"·href="/path/to/default/style.css"··type="text/css">
138 ·····*·(end·code)161 ·····*·(end·code)
139 ·····*/162 ·····*/
140 ····ImgPath:·''163 ····ImgPath:·''
141 };164 };
142 /*·======================================================================165 /*·======================================================================
 166 ····OpenLayers/BaseTypes/Class.js
 167 ···======================================================================·*/
  
 168 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for
 169 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.
 170 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the
 171 ·*·full·text·of·the·license.·*/
  
 172 /**
 173 ·*·@requires·OpenLayers/SingleFile.js
 174 ·*/
  
 175 /**
 176 ·*·Constructor:·OpenLayers.Class
 177 ·*·Base·class·used·to·construct·all·other·classes.·Includes·support·for·
 178 ·*·····multiple·inheritance.·
 179 ·*·····
 180 ·*·This·constructor·is·new·in·OpenLayers·2.5.··At·OpenLayers·3.0,·the·old·
 181 ·*·····syntax·for·creating·classes·and·dealing·with·inheritance·
 182 ·*·····will·be·removed.
 183 ·*·
 184 ·*·To·create·a·new·OpenLayers-style·class,·use·the·following·syntax:
 185 ·*·(code)
 186 ·*·····var·MyClass·=·OpenLayers.Class(prototype);
 187 ·*·(end)
 188 ·*
 189 ·*·To·create·a·new·OpenLayers-style·class·with·multiple·inheritance,·use·the
 190 ·*·····following·syntax:
 191 ·*·(code)
 192 ·*·····var·MyClass·=·OpenLayers.Class(Class1,·Class2,·prototype);
 193 ·*·(end)
 194 ·*·
 195 ·*·Note·that·instanceof·reflection·will·only·reveal·Class1·as·superclass.
 196 ·*
 197 ·*/
 198 OpenLayers.Class·=·function()·{
 199 ····var·len·=·arguments.length;
 200 ····var·P·=·arguments[0];
 201 ····var·F·=·arguments[len·-·1];
  
 202 ····var·C·=·typeof·F.initialize·==·"function"·?
 203 ········F.initialize·:
 204 ········function()·{
 205 ············P.prototype.initialize.apply(this,·arguments);
 206 ········};
  
 207 ····if·(len·>·1)·{
 208 ········var·newArgs·=·[C,·P].concat(
 209 ············Array.prototype.slice.call(arguments).slice(1,·len·-·1),·F);
 210 ········OpenLayers.inherit.apply(null,·newArgs);
 211 ····}·else·{
 212 ········C.prototype·=·F;
 213 ····}
 214 ····return·C;
 215 };
  
 216 /**
 217 ·*·Function:·OpenLayers.inherit
 218 ·*
 219 ·*·Parameters:
 220 ·*·C·-·{Object}·the·class·that·inherits
 221 ·*·P·-·{Object}·the·superclass·to·inherit·from
 222 ·*
 223 ·*·In·addition·to·the·mandatory·C·and·P·parameters,·an·arbitrary·number·of
 224 ·*·objects·can·be·passed,·which·will·extend·C.
 225 ·*/
 226 OpenLayers.inherit·=·function(C,·P)·{
 227 ····var·F·=·function()·{};
 228 ····F.prototype·=·P.prototype;
 229 ····C.prototype·=·new·F;
 230 ····var·i,·l,·o;
 231 ····for·(i·=·2,·l·=·arguments.length;·i·<·l;·i++)·{
 232 ········o·=·arguments[i];
 233 ········if·(typeof·o·===·"function")·{
 234 ············o·=·o.prototype;
 235 ········}
 236 ········OpenLayers.Util.extend(C.prototype,·o);
 237 ····}
 238 };
  
 239 /**
 240 ·*·APIFunction:·extend
Max diff block lines reached; 3428344/3442710 bytes (99.58%) of diff not shown.
1.04 MB
./usr/share/javascript/openlayers/OpenLayers.light.js
1.04 MB
js-beautify {}
    
Offset 263, 449 lines modifiedOffset 263, 14 lines modified
263 ············source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{263 ············source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{
264 ············destination.toString·=·source.toString;264 ············destination.toString·=·source.toString;
265 ········}265 ········}
266 ····}266 ····}
267 ····return·destination;267 ····return·destination;
268 };268 };
269 /*·======================================================================269 /*·======================================================================
270 ····OpenLayers/Util/vendorPrefix.js 
271 ···======================================================================·*/ 
  
272 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for 
273 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license. 
274 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the 
275 ·*·full·text·of·the·license.·*/ 
  
276 /** 
277 ·*·@requires·OpenLayers/SingleFile.js 
278 ·*/ 
  
279 OpenLayers.Util·=·OpenLayers.Util·||·{}; 
280 /** 
281 ·*·Namespace:·OpenLayers.Util.vendorPrefix 
282 ·*·A·collection·of·utility·functions·to·detect·vendor·prefixed·features 
283 ·*/ 
284 OpenLayers.Util.vendorPrefix·=·(function()·{ 
285 ····"use·strict"; 
  
286 ····var·VENDOR_PREFIXES·=·["",·"O",·"ms",·"Moz",·"Webkit"], 
287 ········divStyle·=·document.createElement("div").style, 
288 ········cssCache·=·{}, 
289 ········jsCache·=·{}; 
  
  
290 ····/** 
291 ·····*·Function:·domToCss 
292 ·····*·Converts·a·upper·camel·case·DOM·style·property·name·to·a·CSS·property 
293 ·····*······i.e.·transformOrigin·->·transform-origin 
294 ·····*······or···WebkitTransformOrigin·->·-webkit-transform-origin 
295 ·····* 
296 ·····*·Parameters: 
297 ·····*·prefixedDom·-·{String}·The·property·to·convert 
298 ·····* 
299 ·····*·Returns: 
300 ·····*·{String}·The·CSS·property 
301 ·····*/ 
302 ····function·domToCss(prefixedDom)·{ 
303 ········if·(!prefixedDom)·{ 
304 ············return·null; 
305 ········} 
306 ········return·prefixedDom. 
307 ········replace(/([A-Z])/g,·function(c)·{ 
308 ············return·"-"·+·c.toLowerCase(); 
309 ········}). 
310 ········replace(/^ms-/,·"-ms-"); 
311 ····} 
  
312 ····/** 
313 ·····*·APIMethod:·css 
314 ·····*·Detect·which·property·is·used·for·a·CSS·property 
315 ·····* 
316 ·····*·Parameters: 
317 ·····*·property·-·{String}·The·standard·(unprefixed)·CSS·property·name 
318 ·····* 
319 ·····*·Returns: 
320 ·····*·{String}·The·standard·CSS·property,·prefixed·property·or·null·if·not 
321 ·····*··········supported 
322 ·····*/ 
323 ····function·css(property)·{ 
324 ········if·(cssCache[property]·===·undefined)·{ 
325 ············var·domProperty·=·property. 
326 ············replace(/(-[\s\S])/g,·function(c)·{ 
327 ················return·c.charAt(1).toUpperCase(); 
328 ············}); 
329 ············var·prefixedDom·=·style(domProperty); 
330 ············cssCache[property]·=·domToCss(prefixedDom); 
331 ········} 
332 ········return·cssCache[property]; 
333 ····} 
  
334 ····/** 
335 ·····*·APIMethod:·js 
336 ·····*·Detect·which·property·is·used·for·a·JS·property/method 
337 ·····* 
338 ·····*·Parameters: 
339 ·····*·obj·-·{Object}·The·object·to·test·on 
340 ·····*·property·-·{String}·The·standard·(unprefixed)·JS·property·name 
341 ·····* 
342 ·····*·Returns: 
343 ·····*·{String}·The·standard·JS·property,·prefixed·property·or·null·if·not 
344 ·····*··········supported 
345 ·····*/ 
346 ····function·js(obj,·property)·{ 
347 ········if·(jsCache[property]·===·undefined)·{ 
348 ············var·tmpProp, 
349 ················i·=·0, 
350 ················l·=·VENDOR_PREFIXES.length, 
351 ················prefix, 
352 ················isStyleObj·=·(typeof·obj.cssText·!==·"undefined"); 
  
353 ············jsCache[property]·=·null; 
354 ············for·(;·i·<·l;·i++)·{ 
355 ················prefix·=·VENDOR_PREFIXES[i]; 
356 ················if·(prefix)·{ 
357 ····················if·(!isStyleObj)·{ 
358 ························//·js·prefix·should·be·lower-case,·while·style 
359 ························//·properties·have·upper·case·on·first·character 
360 ························prefix·=·prefix.toLowerCase(); 
361 ····················} 
362 ····················tmpProp·=·prefix·+·property.charAt(0).toUpperCase()·+·property.slice(1); 
363 ················}·else·{ 
364 ····················tmpProp·=·property; 
365 ················} 
  
366 ················if·(obj[tmpProp]·!==·undefined)·{ 
367 ····················jsCache[property]·=·tmpProp; 
368 ····················break; 
369 ················} 
370 ············} 
371 ········} 
372 ········return·jsCache[property]; 
373 ····} 
  
374 ····/** 
375 ·····*·APIMethod:·style 
376 ·····*·Detect·which·property·is·used·for·a·DOM·style·property 
377 ·····* 
378 ·····*·Parameters: 
Max diff block lines reached; 1078122/1091558 bytes (98.77%) of diff not shown.
432 KB
./usr/share/javascript/openlayers/OpenLayers.light.min.js
432 KB
js-beautify {}
    
Offset 62, 204 lines modifiedOffset 62, 14 lines modified
62 ········var·sourceIsEvt·=·typeof·window.Event·==·"function"·&&·source·instanceof·window.Event;62 ········var·sourceIsEvt·=·typeof·window.Event·==·"function"·&&·source·instanceof·window.Event;
63 ········if·(!sourceIsEvt·&&·source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{63 ········if·(!sourceIsEvt·&&·source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{
64 ············destination.toString·=·source.toString64 ············destination.toString·=·source.toString
65 ········}65 ········}
66 ····}66 ····}
67 ····return·destination67 ····return·destination
68 };68 };
69 OpenLayers.Util·=·OpenLayers.Util·||·{}; 
70 OpenLayers.Util.vendorPrefix·=·function()·{ 
71 ····"use·strict"; 
72 ····var·VENDOR_PREFIXES·=·["",·"O",·"ms",·"Moz",·"Webkit"], 
73 ········divStyle·=·document.createElement("div").style, 
74 ········cssCache·=·{}, 
75 ········jsCache·=·{}; 
  
76 ····function·domToCss(prefixedDom)·{ 
77 ········if·(!prefixedDom)·{ 
78 ············return·null 
79 ········} 
80 ········return·prefixedDom.replace(/([A-Z])/g,·function(c)·{ 
81 ············return·"-"·+·c.toLowerCase() 
82 ········}).replace(/^ms-/,·"-ms-") 
83 ····} 
  
84 ····function·css(property)·{ 
85 ········if·(cssCache[property]·===·undefined)·{ 
86 ············var·domProperty·=·property.replace(/(-[\s\S])/g,·function(c)·{ 
87 ················return·c.charAt(1).toUpperCase() 
88 ············}); 
89 ············var·prefixedDom·=·style(domProperty); 
90 ············cssCache[property]·=·domToCss(prefixedDom) 
91 ········} 
92 ········return·cssCache[property] 
93 ····} 
  
94 ····function·js(obj,·property)·{ 
95 ········if·(jsCache[property]·===·undefined)·{ 
96 ············var·tmpProp,·i·=·0, 
97 ················l·=·VENDOR_PREFIXES.length, 
98 ················prefix,·isStyleObj·=·typeof·obj.cssText·!==·"undefined"; 
99 ············jsCache[property]·=·null; 
100 ············for·(;·i·<·l;·i++)·{ 
101 ················prefix·=·VENDOR_PREFIXES[i]; 
102 ················if·(prefix)·{ 
103 ····················if·(!isStyleObj)·{ 
104 ························prefix·=·prefix.toLowerCase() 
105 ····················} 
106 ····················tmpProp·=·prefix·+·property.charAt(0).toUpperCase()·+·property.slice(1) 
107 ················}·else·{ 
108 ····················tmpProp·=·property 
109 ················} 
110 ················if·(obj[tmpProp]·!==·undefined)·{ 
111 ····················jsCache[property]·=·tmpProp; 
112 ····················break 
113 ················} 
114 ············} 
115 ········} 
116 ········return·jsCache[property] 
117 ····} 
  
118 ····function·style(property)·{ 
119 ········return·js(divStyle,·property) 
120 ····} 
121 ····return·{ 
122 ········css:·css, 
123 ········js:·js, 
124 ········style:·style, 
125 ········cssCache:·cssCache, 
126 ········jsCache:·jsCache 
127 ····} 
128 }(); 
129 OpenLayers.Animation·=·function(window)·{ 
130 ····var·requestAnimationFrame·=·OpenLayers.Util.vendorPrefix.js(window,·"requestAnimationFrame"); 
131 ····var·isNative·=·!!requestAnimationFrame; 
132 ····var·requestFrame·=·function()·{ 
133 ········var·request·=·window[requestAnimationFrame]·||·function(callback,·element)·{ 
134 ············window.setTimeout(callback,·16) 
135 ········}; 
136 ········return·function(callback,·element)·{ 
137 ············request.apply(window,·[callback,·element]) 
138 ········} 
139 ····}(); 
140 ····var·counter·=·0; 
141 ····var·loops·=·{}; 
  
142 ····function·start(callback,·duration,·element)·{ 
143 ········duration·=·duration·>·0·?·duration·:·Number.POSITIVE_INFINITY; 
144 ········var·id·=·++counter; 
145 ········var·start·=·+new·Date; 
146 ········loops[id]·=·function()·{ 
147 ············if·(loops[id]·&&·+new·Date·-·start·<=·duration)·{ 
148 ················callback(); 
149 ················if·(loops[id])·{ 
150 ····················requestFrame(loops[id],·element) 
151 ················} 
152 ············}·else·{ 
153 ················delete·loops[id] 
154 ············} 
155 ········}; 
156 ········requestFrame(loops[id],·element); 
157 ········return·id 
158 ····} 
  
159 ····function·stop(id)·{ 
160 ········delete·loops[id] 
161 ····} 
162 ····return·{ 
163 ········isNative:·isNative, 
164 ········requestFrame:·requestFrame, 
165 ········start:·start, 
166 ········stop:·stop 
167 ····} 
168 }(window); 
169 OpenLayers.Kinetic·=·OpenLayers.Class({ 
170 ····threshold:·0, 
171 ····deceleration:·.0035, 
172 ····nbPoints:·100, 
173 ····delay:·200, 
174 ····points:·undefined, 
175 ····timerId:·undefined, 
176 ····initialize:·function(options)·{ 
177 ········OpenLayers.Util.extend(this,·options) 
178 ····}, 
179 ····begin:·function()·{ 
180 ········OpenLayers.Animation.stop(this.timerId); 
181 ········this.timerId·=·undefined; 
182 ········this.points·=·[] 
Max diff block lines reached; 436094/442406 bytes (98.57%) of diff not shown.
1.42 MB
./usr/share/javascript/openlayers/OpenLayers.min.js
1.42 MB
js-beautify {}
    
Offset 17, 14 lines modifiedOffset 17, 92 lines modified
17 ········}17 ········}
18 ········return·function()·{18 ········return·function()·{
19 ············return·l19 ············return·l
20 ········}20 ········}
21 ····}(),21 ····}(),
22 ····ImgPath:·""22 ····ImgPath:·""
23 };23 };
 24 OpenLayers.Class·=·function()·{
 25 ····var·len·=·arguments.length;
 26 ····var·P·=·arguments[0];
 27 ····var·F·=·arguments[len·-·1];
 28 ····var·C·=·typeof·F.initialize·==·"function"·?·F.initialize·:·function()·{
 29 ········P.prototype.initialize.apply(this,·arguments)
 30 ····};
 31 ····if·(len·>·1)·{
 32 ········var·newArgs·=·[C,·P].concat(Array.prototype.slice.call(arguments).slice(1,·len·-·1),·F);
 33 ········OpenLayers.inherit.apply(null,·newArgs)
 34 ····}·else·{
 35 ········C.prototype·=·F
 36 ····}
 37 ····return·C
 38 };
 39 OpenLayers.inherit·=·function(C,·P)·{
 40 ····var·F·=·function()·{};
 41 ····F.prototype·=·P.prototype;
 42 ····C.prototype·=·new·F;
 43 ····var·i,·l,·o;
 44 ····for·(i·=·2,·l·=·arguments.length;·i·<·l;·i++)·{
 45 ········o·=·arguments[i];
 46 ········if·(typeof·o·===·"function")·{
 47 ············o·=·o.prototype
 48 ········}
 49 ········OpenLayers.Util.extend(C.prototype,·o)
 50 ····}
 51 };
 52 OpenLayers.Util·=·OpenLayers.Util·||·{};
 53 OpenLayers.Util.extend·=·function(destination,·source)·{
 54 ····destination·=·destination·||·{};
 55 ····if·(source)·{
 56 ········for·(var·property·in·source)·{
 57 ············var·value·=·source[property];
 58 ············if·(value·!==·undefined)·{
 59 ················destination[property]·=·value
 60 ············}
 61 ········}
 62 ········var·sourceIsEvt·=·typeof·window.Event·==·"function"·&&·source·instanceof·window.Event;
 63 ········if·(!sourceIsEvt·&&·source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{
 64 ············destination.toString·=·source.toString
 65 ········}
 66 ····}
 67 ····return·destination
 68 };
 69 OpenLayers.Console·=·{
 70 ····log:·function()·{},
 71 ····debug:·function()·{},
 72 ····info:·function()·{},
 73 ····warn:·function()·{},
 74 ····error:·function()·{},
 75 ····userError:·function(error)·{
 76 ········alert(error)
 77 ····},
 78 ····assert:·function()·{},
 79 ····dir:·function()·{},
 80 ····dirxml:·function()·{},
 81 ····trace:·function()·{},
 82 ····group:·function()·{},
 83 ····groupEnd:·function()·{},
 84 ····time:·function()·{},
 85 ····timeEnd:·function()·{},
 86 ····profile:·function()·{},
 87 ····profileEnd:·function()·{},
 88 ····count:·function()·{},
 89 ····CLASS_NAME:·"OpenLayers.Console"
 90 };
 91 (function()·{
 92 ····var·scripts·=·document.getElementsByTagName("script");
 93 ····for·(var·i·=·0,·len·=·scripts.length;·i·<·len;·++i)·{
 94 ········if·(scripts[i].src.indexOf("firebug.js")·!=·-1)·{
 95 ············if·(console)·{
 96 ················OpenLayers.Util.extend(OpenLayers.Console,·console);
 97 ················break
 98 ············}
 99 ········}
 100 ····}
 101 })();
24 OpenLayers.String·=·{102 OpenLayers.String·=·{
25 ····startsWith:·function(str,·sub)·{103 ····startsWith:·function(str,·sub)·{
26 ········return·str.indexOf(sub)·==·0104 ········return·str.indexOf(sub)·==·0
27 ····},105 ····},
28 ····contains:·function(str,·sub)·{106 ····contains:·function(str,·sub)·{
29 ········return·str.indexOf(sub)·!=·-1107 ········return·str.indexOf(sub)·!=·-1
30 ····},108 ····},
Offset 167, 59 lines modifiedOffset 245, 14 lines modified
167 ····················}245 ····················}
168 ················}246 ················}
169 ············}247 ············}
170 ········}248 ········}
171 ········return·selected249 ········return·selected
172 ····}250 ····}
173 };251 };
174 OpenLayers.Class·=·function()·{ 
175 ····var·len·=·arguments.length; 
176 ····var·P·=·arguments[0]; 
177 ····var·F·=·arguments[len·-·1]; 
178 ····var·C·=·typeof·F.initialize·==·"function"·?·F.initialize·:·function()·{ 
179 ········P.prototype.initialize.apply(this,·arguments) 
180 ····}; 
181 ····if·(len·>·1)·{ 
182 ········var·newArgs·=·[C,·P].concat(Array.prototype.slice.call(arguments).slice(1,·len·-·1),·F); 
183 ········OpenLayers.inherit.apply(null,·newArgs) 
184 ····}·else·{ 
185 ········C.prototype·=·F 
186 ····} 
187 ····return·C 
188 }; 
189 OpenLayers.inherit·=·function(C,·P)·{ 
190 ····var·F·=·function()·{}; 
191 ····F.prototype·=·P.prototype; 
192 ····C.prototype·=·new·F; 
193 ····var·i,·l,·o; 
194 ····for·(i·=·2,·l·=·arguments.length;·i·<·l;·i++)·{ 
195 ········o·=·arguments[i]; 
196 ········if·(typeof·o·===·"function")·{ 
197 ············o·=·o.prototype 
198 ········} 
199 ········OpenLayers.Util.extend(C.prototype,·o) 
200 ····} 
Max diff block lines reached; 1484323/1488720 bytes (99.70%) of diff not shown.
1.61 MB
./usr/share/javascript/openlayers/OpenLayers.mobile.js
1.61 MB
js-beautify {}
    
Offset 263, 449 lines modifiedOffset 263, 14 lines modified
263 ············source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{263 ············source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{
264 ············destination.toString·=·source.toString;264 ············destination.toString·=·source.toString;
265 ········}265 ········}
266 ····}266 ····}
267 ····return·destination;267 ····return·destination;
268 };268 };
269 /*·======================================================================269 /*·======================================================================
270 ····OpenLayers/Util/vendorPrefix.js 
271 ···======================================================================·*/ 
  
272 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for 
273 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license. 
274 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the 
275 ·*·full·text·of·the·license.·*/ 
  
276 /** 
277 ·*·@requires·OpenLayers/SingleFile.js 
278 ·*/ 
  
279 OpenLayers.Util·=·OpenLayers.Util·||·{}; 
280 /** 
281 ·*·Namespace:·OpenLayers.Util.vendorPrefix 
282 ·*·A·collection·of·utility·functions·to·detect·vendor·prefixed·features 
283 ·*/ 
284 OpenLayers.Util.vendorPrefix·=·(function()·{ 
285 ····"use·strict"; 
  
286 ····var·VENDOR_PREFIXES·=·["",·"O",·"ms",·"Moz",·"Webkit"], 
287 ········divStyle·=·document.createElement("div").style, 
288 ········cssCache·=·{}, 
289 ········jsCache·=·{}; 
  
  
290 ····/** 
291 ·····*·Function:·domToCss 
292 ·····*·Converts·a·upper·camel·case·DOM·style·property·name·to·a·CSS·property 
293 ·····*······i.e.·transformOrigin·->·transform-origin 
294 ·····*······or···WebkitTransformOrigin·->·-webkit-transform-origin 
295 ·····* 
296 ·····*·Parameters: 
297 ·····*·prefixedDom·-·{String}·The·property·to·convert 
298 ·····* 
299 ·····*·Returns: 
300 ·····*·{String}·The·CSS·property 
301 ·····*/ 
302 ····function·domToCss(prefixedDom)·{ 
303 ········if·(!prefixedDom)·{ 
304 ············return·null; 
305 ········} 
306 ········return·prefixedDom. 
307 ········replace(/([A-Z])/g,·function(c)·{ 
308 ············return·"-"·+·c.toLowerCase(); 
309 ········}). 
310 ········replace(/^ms-/,·"-ms-"); 
311 ····} 
  
312 ····/** 
313 ·····*·APIMethod:·css 
314 ·····*·Detect·which·property·is·used·for·a·CSS·property 
315 ·····* 
316 ·····*·Parameters: 
317 ·····*·property·-·{String}·The·standard·(unprefixed)·CSS·property·name 
318 ·····* 
319 ·····*·Returns: 
320 ·····*·{String}·The·standard·CSS·property,·prefixed·property·or·null·if·not 
321 ·····*··········supported 
322 ·····*/ 
323 ····function·css(property)·{ 
324 ········if·(cssCache[property]·===·undefined)·{ 
325 ············var·domProperty·=·property. 
326 ············replace(/(-[\s\S])/g,·function(c)·{ 
327 ················return·c.charAt(1).toUpperCase(); 
328 ············}); 
329 ············var·prefixedDom·=·style(domProperty); 
330 ············cssCache[property]·=·domToCss(prefixedDom); 
331 ········} 
332 ········return·cssCache[property]; 
333 ····} 
  
334 ····/** 
335 ·····*·APIMethod:·js 
336 ·····*·Detect·which·property·is·used·for·a·JS·property/method 
337 ·····* 
338 ·····*·Parameters: 
339 ·····*·obj·-·{Object}·The·object·to·test·on 
340 ·····*·property·-·{String}·The·standard·(unprefixed)·JS·property·name 
341 ·····* 
342 ·····*·Returns: 
343 ·····*·{String}·The·standard·JS·property,·prefixed·property·or·null·if·not 
344 ·····*··········supported 
345 ·····*/ 
346 ····function·js(obj,·property)·{ 
347 ········if·(jsCache[property]·===·undefined)·{ 
348 ············var·tmpProp, 
349 ················i·=·0, 
350 ················l·=·VENDOR_PREFIXES.length, 
351 ················prefix, 
352 ················isStyleObj·=·(typeof·obj.cssText·!==·"undefined"); 
  
353 ············jsCache[property]·=·null; 
354 ············for·(;·i·<·l;·i++)·{ 
355 ················prefix·=·VENDOR_PREFIXES[i]; 
356 ················if·(prefix)·{ 
357 ····················if·(!isStyleObj)·{ 
358 ························//·js·prefix·should·be·lower-case,·while·style 
359 ························//·properties·have·upper·case·on·first·character 
360 ························prefix·=·prefix.toLowerCase(); 
361 ····················} 
362 ····················tmpProp·=·prefix·+·property.charAt(0).toUpperCase()·+·property.slice(1); 
363 ················}·else·{ 
364 ····················tmpProp·=·property; 
365 ················} 
  
366 ················if·(obj[tmpProp]·!==·undefined)·{ 
367 ····················jsCache[property]·=·tmpProp; 
368 ····················break; 
369 ················} 
370 ············} 
371 ········} 
372 ········return·jsCache[property]; 
373 ····} 
  
374 ····/** 
375 ·····*·APIMethod:·style 
376 ·····*·Detect·which·property·is·used·for·a·DOM·style·property 
377 ·····* 
378 ·····*·Parameters: 
Max diff block lines reached; 1677716/1691152 bytes (99.21%) of diff not shown.
568 KB
./usr/share/javascript/openlayers/OpenLayers.mobile.min.js
568 KB
js-beautify {}
    
Offset 62, 204 lines modifiedOffset 62, 14 lines modified
62 ········var·sourceIsEvt·=·typeof·window.Event·==·"function"·&&·source·instanceof·window.Event;62 ········var·sourceIsEvt·=·typeof·window.Event·==·"function"·&&·source·instanceof·window.Event;
63 ········if·(!sourceIsEvt·&&·source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{63 ········if·(!sourceIsEvt·&&·source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{
64 ············destination.toString·=·source.toString64 ············destination.toString·=·source.toString
65 ········}65 ········}
66 ····}66 ····}
67 ····return·destination67 ····return·destination
68 };68 };
69 OpenLayers.Util·=·OpenLayers.Util·||·{}; 
70 OpenLayers.Util.vendorPrefix·=·function()·{ 
71 ····"use·strict"; 
72 ····var·VENDOR_PREFIXES·=·["",·"O",·"ms",·"Moz",·"Webkit"], 
73 ········divStyle·=·document.createElement("div").style, 
74 ········cssCache·=·{}, 
75 ········jsCache·=·{}; 
  
76 ····function·domToCss(prefixedDom)·{ 
77 ········if·(!prefixedDom)·{ 
78 ············return·null 
79 ········} 
80 ········return·prefixedDom.replace(/([A-Z])/g,·function(c)·{ 
81 ············return·"-"·+·c.toLowerCase() 
82 ········}).replace(/^ms-/,·"-ms-") 
83 ····} 
  
84 ····function·css(property)·{ 
85 ········if·(cssCache[property]·===·undefined)·{ 
86 ············var·domProperty·=·property.replace(/(-[\s\S])/g,·function(c)·{ 
87 ················return·c.charAt(1).toUpperCase() 
88 ············}); 
89 ············var·prefixedDom·=·style(domProperty); 
90 ············cssCache[property]·=·domToCss(prefixedDom) 
91 ········} 
92 ········return·cssCache[property] 
93 ····} 
  
94 ····function·js(obj,·property)·{ 
95 ········if·(jsCache[property]·===·undefined)·{ 
96 ············var·tmpProp,·i·=·0, 
97 ················l·=·VENDOR_PREFIXES.length, 
98 ················prefix,·isStyleObj·=·typeof·obj.cssText·!==·"undefined"; 
99 ············jsCache[property]·=·null; 
100 ············for·(;·i·<·l;·i++)·{ 
101 ················prefix·=·VENDOR_PREFIXES[i]; 
102 ················if·(prefix)·{ 
103 ····················if·(!isStyleObj)·{ 
104 ························prefix·=·prefix.toLowerCase() 
105 ····················} 
106 ····················tmpProp·=·prefix·+·property.charAt(0).toUpperCase()·+·property.slice(1) 
107 ················}·else·{ 
108 ····················tmpProp·=·property 
109 ················} 
110 ················if·(obj[tmpProp]·!==·undefined)·{ 
111 ····················jsCache[property]·=·tmpProp; 
112 ····················break 
113 ················} 
114 ············} 
115 ········} 
116 ········return·jsCache[property] 
117 ····} 
  
118 ····function·style(property)·{ 
119 ········return·js(divStyle,·property) 
120 ····} 
121 ····return·{ 
122 ········css:·css, 
123 ········js:·js, 
124 ········style:·style, 
125 ········cssCache:·cssCache, 
126 ········jsCache:·jsCache 
127 ····} 
128 }(); 
129 OpenLayers.Animation·=·function(window)·{ 
130 ····var·requestAnimationFrame·=·OpenLayers.Util.vendorPrefix.js(window,·"requestAnimationFrame"); 
131 ····var·isNative·=·!!requestAnimationFrame; 
132 ····var·requestFrame·=·function()·{ 
133 ········var·request·=·window[requestAnimationFrame]·||·function(callback,·element)·{ 
134 ············window.setTimeout(callback,·16) 
135 ········}; 
136 ········return·function(callback,·element)·{ 
137 ············request.apply(window,·[callback,·element]) 
138 ········} 
139 ····}(); 
140 ····var·counter·=·0; 
141 ····var·loops·=·{}; 
  
142 ····function·start(callback,·duration,·element)·{ 
143 ········duration·=·duration·>·0·?·duration·:·Number.POSITIVE_INFINITY; 
144 ········var·id·=·++counter; 
145 ········var·start·=·+new·Date; 
146 ········loops[id]·=·function()·{ 
147 ············if·(loops[id]·&&·+new·Date·-·start·<=·duration)·{ 
148 ················callback(); 
149 ················if·(loops[id])·{ 
150 ····················requestFrame(loops[id],·element) 
151 ················} 
152 ············}·else·{ 
153 ················delete·loops[id] 
154 ············} 
155 ········}; 
156 ········requestFrame(loops[id],·element); 
157 ········return·id 
158 ····} 
  
159 ····function·stop(id)·{ 
160 ········delete·loops[id] 
161 ····} 
162 ····return·{ 
163 ········isNative:·isNative, 
164 ········requestFrame:·requestFrame, 
165 ········start:·start, 
166 ········stop:·stop 
167 ····} 
168 }(window); 
169 OpenLayers.Kinetic·=·OpenLayers.Class({ 
170 ····threshold:·0, 
171 ····deceleration:·.0035, 
172 ····nbPoints:·100, 
173 ····delay:·200, 
174 ····points:·undefined, 
175 ····timerId:·undefined, 
176 ····initialize:·function(options)·{ 
177 ········OpenLayers.Util.extend(this,·options) 
178 ····}, 
179 ····begin:·function()·{ 
180 ········OpenLayers.Animation.stop(this.timerId); 
181 ········this.timerId·=·undefined; 
182 ········this.points·=·[] 
Max diff block lines reached; 575163/581475 bytes (98.91%) of diff not shown.
2.89 MB
./usr/share/javascript/openlayers/OpenLayers.tests.js
2.89 MB
js-beautify {}
    
Offset 33176, 201 lines modifiedOffset 33176, 1131 lines modified
  
33176 /**33176 /**
33177 ·*·Constant:·CORNER_SIZE33177 ·*·Constant:·CORNER_SIZE
33178 ·*·{Integer}·5.·Border·space·for·the·RICO·corners.33178 ·*·{Integer}·5.·Border·space·for·the·RICO·corners.
33179 ·*/33179 ·*/
33180 OpenLayers.Popup.AnchoredBubble.CORNER_SIZE·=·5;33180 OpenLayers.Popup.AnchoredBubble.CORNER_SIZE·=·5;
33181 /*·======================================================================33181 /*·======================================================================
33182 ····OpenLayers/Kinetic.js33182 ····OpenLayers/Strategy.js
33183 ···======================================================================·*/33183 ···======================================================================·*/
  
33184 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for33184 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for
33185 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.33185 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.
33186 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the33186 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the
33187 ·*·full·text·of·the·license.·*/33187 ·*·full·text·of·the·license.·*/
  
33188 /**33188 /**
33189 ·*·@requires·OpenLayers/BaseTypes/Class.js33189 ·*·@requires·OpenLayers/BaseTypes/Class.js
33190 ·*·@requires·OpenLayers/Animation.js 
33191 ·*/33190 ·*/
  
 33191 /**
 33192 ·*·Class:·OpenLayers.Strategy
 33193 ·*·Abstract·vector·layer·strategy·class.··Not·to·be·instantiated·directly.··Use
 33194 ·*·····one·of·the·strategy·subclasses·instead.
 33195 ·*/
33192 OpenLayers.Kinetic·=·OpenLayers.Class({33196 OpenLayers.Strategy·=·OpenLayers.Class({
  
33193 ····/**33197 ····/**
33194 ·····*·Property:·threshold33198 ·····*·Property:·layer
 33199 ·····*·{<OpenLayers.Layer.Vector>}·The·layer·this·strategy·belongs·to.
33195 ·····*·In·most·cases·changing·the·threshold·isn't·needed. 
33196 ·····*·In·px/ms,·default·to·0. 
33197 ·····*/33200 ·····*/
33198 ····threshold:·0,33201 ····layer:·null,
  
33199 ····/**33202 ····/**
33200 ·····*·Property:·deceleration33203 ·····*·Property:·options
33201 ·····*·{Float}·the·deseleration·in·px/ms²,·default·to·0.0035.33204 ·····*·{Object}·Any·options·sent·to·the·constructor.
33202 ·····*/33205 ·····*/
33203 ····deceleration:·0.0035,33206 ····options:·null,
  
 33207 ····/**·
 33208 ·····*·Property:·active·
 33209 ·····*·{Boolean}·The·control·is·active.
 33210 ·····*/
 33211 ····active:·null,
  
33204 ····/**33212 ····/**
33205 ·····*·Property:·nbPoints 
33206 ·····*·{Integer}·the·number·of·points·we·use·to·calculate·the·kinetic 
33207 ·····*·initial·values.33213 ·····*·Property:·autoActivate
 33214 ·····*·{Boolean}·The·creator·of·the·strategy·can·set·autoActivate·to·false
 33215 ·····*······to·fully·control·when·the·protocol·is·activated·and·deactivated.
 33216 ·····*······Defaults·to·true.
33208 ·····*/33217 ·····*/
33209 ····nbPoints:·100,33218 ····autoActivate:·true,
  
33210 ····/**33219 ····/**
33211 ·····*·Property:·delay33220 ·····*·Property:·autoDestroy
33212 ·····*·{Float}·time·to·consider·to·calculate·the·kinetic·initial·values. 
33213 ·····*·In·ms,·default·to·200.33221 ·····*·{Boolean}·The·creator·of·the·strategy·can·set·autoDestroy·to·false
 33222 ·····*······to·fully·control·when·the·strategy·is·destroyed.·Defaults·to
 33223 ·····*······true.
33214 ·····*/33224 ·····*/
33215 ····delay:·200,33225 ····autoDestroy:·true,
  
33216 ····/**33226 ····/**
33217 ·····*·Property:·points 
33218 ·····*·List·of·points·use·to·calculate·the·kinetic·initial·values.33227 ·····*·Constructor:·OpenLayers.Strategy
 33228 ·····*·Abstract·class·for·vector·strategies.··Create·instances·of·a·subclass.
 33229 ·····*
 33230 ·····*·Parameters:
 33231 ·····*·options·-·{Object}·Optional·object·whose·properties·will·be·set·on·the
 33232 ·····*·····instance.
33219 ·····*/33233 ·····*/
33220 ····points:·undefined,33234 ····initialize:·function(options)·{
 33235 ········OpenLayers.Util.extend(this,·options);
 33236 ········this.options·=·options;
 33237 ········//·set·the·active·property·here,·so·that·user·cannot·override·it
 33238 ········this.active·=·false;
 33239 ····},
  
33221 ····/**33240 ····/**
33222 ·····*·Property:·timerId 
33223 ·····*·ID·of·the·timer.33241 ·····*·APIMethod:·destroy
 33242 ·····*·Clean·up·the·strategy.
33224 ·····*/33243 ·····*/
33225 ····timerId:·undefined,33244 ····destroy:·function()·{
 33245 ········this.deactivate();
 33246 ········this.layer·=·null;
 33247 ········this.options·=·null;
 33248 ····},
  
33226 ····/**33249 ····/**
33227 ·····*·Constructor:·OpenLayers.Kinetic33250 ·····*·Method:·setLayer
 33251 ·····*·Called·to·set·the·<layer>·property.
33228 ·····*33252 ·····*
33229 ·····*·Parameters:33253 ·····*·Parameters:
33230 ·····*·options·-·{Object}33254 ·····*·layer·-·{<OpenLayers.Layer.Vector>}
33231 ·····*/33255 ·····*/
33232 ····initialize:·function(options)·{ 
33233 ········OpenLayers.Util.extend(this,·options);33256 ····setLayer:·function(layer)·{
 33257 ········this.layer·=·layer;
33234 ····},33258 ····},
  
33235 ····/**33259 ····/**
33236 ·····*·Method:·begin 
33237 ·····*·Begins·the·dragging.33260 ·····*·Method:·activate
 33261 ·····*·Activate·the·strategy.··Register·any·listeners,·do·appropriate·setup.
 33262 ·····*
 33263 ·····*·Returns:
 33264 ·····*·{Boolean}·True·if·the·strategy·was·successfully·activated·or·false·if
 33265 ·····*······the·strategy·was·already·active.
33238 ·····*/33266 ·····*/
33239 ····begin:·function()·{33267 ····activate:·function()·{
33240 ········OpenLayers.Animation.stop(this.timerId); 
33241 ········this.timerId·=·undefined; 
33242 ········this.points·=·[];33268 ········if·(!this.active)·{
 33269 ············this.active·=·true;
 33270 ············return·true;
 33271 ········}
 33272 ········return·false;
33243 ····},33273 ····},
  
33244 ····/**33274 ····/**
33245 ·····*·Method:·update33275 ·····*·Method:·deactivate
33246 ·····*·Updates·during·the·dragging.33276 ·····*·Deactivate·the·strategy.··Unregister·any·listeners,·do·appropriate
Max diff block lines reached; 3029173/3033664 bytes (99.85%) of diff not shown.
1.31 MB
./usr/share/javascript/openlayers/OpenLayers.tests.min.js
1.31 MB
js-beautify {}
    
Offset 13318, 98 lines modifiedOffset 13318, 343 lines modified
13318 ········var·corner·=·OpenLayers.Bounds.oppositeQuadrant(this.relativePosition);13318 ········var·corner·=·OpenLayers.Bounds.oppositeQuadrant(this.relativePosition);
13319 ········OpenLayers.Util.removeItem(corners,·corner);13319 ········OpenLayers.Util.removeItem(corners,·corner);
13320 ········return·corners.join("·")13320 ········return·corners.join("·")
13321 ····},13321 ····},
13322 ····CLASS_NAME:·"OpenLayers.Popup.AnchoredBubble"13322 ····CLASS_NAME:·"OpenLayers.Popup.AnchoredBubble"
13323 });13323 });
13324 OpenLayers.Popup.AnchoredBubble.CORNER_SIZE·=·5;13324 OpenLayers.Popup.AnchoredBubble.CORNER_SIZE·=·5;
13325 OpenLayers.Kinetic·=·OpenLayers.Class({13325 OpenLayers.Strategy·=·OpenLayers.Class({
 13326 ····layer:·null,
 13327 ····options:·null,
 13328 ····active:·null,
 13329 ····autoActivate:·true,
 13330 ····autoDestroy:·true,
13326 ····threshold:·0, 
13327 ····deceleration:·.0035, 
13328 ····nbPoints:·100, 
13329 ····delay:·200, 
13330 ····points:·undefined, 
13331 ····timerId:·undefined, 
13332 ····initialize:·function(options)·{13331 ····initialize:·function(options)·{
13333 ········OpenLayers.Util.extend(this,·options)13332 ········OpenLayers.Util.extend(this,·options);
 13333 ········this.options·=·options;
 13334 ········this.active·=·false
13334 ····},13335 ····},
13335 ····begin:·function()·{13336 ····destroy:·function()·{
13336 ········OpenLayers.Animation.stop(this.timerId); 
13337 ········this.timerId·=·undefined;13337 ········this.deactivate();
 13338 ········this.layer·=·null;
13338 ········this.points·=·[]13339 ········this.options·=·null
13339 ····},13340 ····},
 13341 ····setLayer:·function(layer)·{
 13342 ········this.layer·=·layer
 13343 ····},
13340 ····update:·function(xy)·{13344 ····activate:·function()·{
 13345 ········if·(!this.active)·{
 13346 ············this.active·=·true;
 13347 ············return·true
13341 ········this.points.unshift({ 
13342 ············xy:·xy, 
13343 ············tick:·(new·Date).getTime() 
13344 ········}); 
13345 ········if·(this.points.length·>·this.nbPoints)·{ 
13346 ············this.points.pop() 
13347 ········}13348 ········}
 13349 ········return·false
13348 ····},13350 ····},
 13351 ····deactivate:·function()·{
 13352 ········if·(this.active)·{
 13353 ············this.active·=·false;
 13354 ············return·true
13349 ····end:·function(xy)·{ 
13350 ········var·last,·now·=·(new·Date).getTime(); 
13351 ········for·(var·i·=·0,·l·=·this.points.length,·point;·i·<·l;·i++)·{ 
13352 ············point·=·this.points[i]; 
13353 ············if·(now·-·point.tick·>·this.delay)·{ 
13354 ················break 
13355 ············} 
13356 ············last·=·point 
13357 ········}13355 ········}
 13356 ········return·false
 13357 ····},
 13358 ····CLASS_NAME:·"OpenLayers.Strategy"
 13359 });
 13360 OpenLayers.Handler·=·OpenLayers.Class({
 13361 ····id:·null,
 13362 ····control:·null,
 13363 ····map:·null,
 13364 ····keyMask:·null,
 13365 ····active:·false,
 13366 ····evt:·null,
 13367 ····touch:·false,
 13368 ····initialize:·function(control,·callbacks,·options)·{
 13369 ········OpenLayers.Util.extend(this,·options);
 13370 ········this.control·=·control;
 13371 ········this.callbacks·=·callbacks;
 13372 ········var·map·=·this.map·||·control.map;
13358 ········if·(!last)·{13373 ········if·(map)·{
13359 ············return13374 ············this.setMap(map)
13360 ········}13375 ········}
13361 ········var·time·=·(new·Date).getTime()·-·last.tick; 
13362 ········var·dist·=·Math.sqrt(Math.pow(xy.x·-·last.xy.x,·2)·+·Math.pow(xy.y·-·last.xy.y,·2)); 
13363 ········var·speed·=·dist·/·time; 
13364 ········if·(speed·==·0·||·speed·<·this.threshold)·{13376 ········this.id·=·OpenLayers.Util.createUniqueID(this.CLASS_NAME·+·"_")
 13377 ····},
 13378 ····setMap:·function(map)·{
 13379 ········this.map·=·map
 13380 ····},
 13381 ····checkModifiers:·function(evt)·{
 13382 ········if·(this.keyMask·==·null)·{
13365 ············return13383 ············return·true
13366 ········}13384 ········}
13367 ········var·theta·=·Math.asin((xy.y·-·last.xy.y)·/·dist); 
13368 ········if·(last.xy.x·<=·xy.x)·{ 
13369 ············theta·=·Math.PI·-·theta13385 ········var·keyModifiers·=·(evt.shiftKey·?·OpenLayers.Handler.MOD_SHIFT·:·0)·|·(evt.ctrlKey·?·OpenLayers.Handler.MOD_CTRL·:·0)·|·(evt.altKey·?·OpenLayers.Handler.MOD_ALT·:·0)·|·(evt.metaKey·?·OpenLayers.Handler.MOD_META·:·0);
 13386 ········return·keyModifiers·==·this.keyMask
 13387 ····},
 13388 ····activate:·function()·{
 13389 ········if·(this.active)·{
 13390 ············return·false
13370 ········}13391 ········}
13371 ········return·{ 
13372 ············speed:·speed, 
13373 ············theta:·theta13392 ········var·events·=·OpenLayers.Events.prototype.BROWSER_EVENTS;
 13393 ········for·(var·i·=·0,·len·=·events.length;·i·<·len;·i++)·{
 13394 ············if·(this[events[i]])·{
 13395 ················this.register(events[i],·this[events[i]])
 13396 ············}
13374 ········}13397 ········}
 13398 ········this.active·=·true;
 13399 ········return·true
13375 ····},13400 ····},
 13401 ····deactivate:·function()·{
 13402 ········if·(!this.active)·{
13376 ····move:·function(info,·callback)·{ 
13377 ········var·v0·=·info.speed; 
13378 ········var·fx·=·Math.cos(info.theta); 
13379 ········var·fy·=·-Math.sin(info.theta); 
13380 ········var·initialTime·=·(new·Date).getTime(); 
13381 ········var·lastX·=·0; 
13382 ········var·lastY·=·0; 
13383 ········var·timerCallback·=·function()·{ 
13384 ············if·(this.timerId·==·null)·{ 
13385 ················return13403 ············return·false
 13404 ········}
 13405 ········var·events·=·OpenLayers.Events.prototype.BROWSER_EVENTS;
 13406 ········for·(var·i·=·0,·len·=·events.length;·i·<·len;·i++)·{
 13407 ············if·(this[events[i]])·{
Max diff block lines reached; 1371540/1376129 bytes (99.67%) of diff not shown.