9.45 MB
/srv/reproducible-results/rbuild-debian/tmp.1g3wiuDt58/b1/openlayers_2.13.1+ds2-6_armhf.changes vs.
/srv/reproducible-results/rbuild-debian/tmp.1g3wiuDt58/b2/openlayers_2.13.1+ds2-6_armhf.changes
228 B
Files
    
Offset 1, 2 lines modifiedOffset 1, 2 lines modified
  
1 ·749e8f09ac925945234c9afc982beaf4·718276·javascript·optional·libjs-openlayers_2.13.1+ds2-6_all.deb1 ·d2e9d21e62a6d7355af1e9ac8c0125e3·715996·javascript·optional·libjs-openlayers_2.13.1+ds2-6_all.deb
9.45 MB
libjs-openlayers_2.13.1+ds2-6_all.deb
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2018-08-01·06:43:49.000000·debian-binary1 -rw-r--r--···0········0········0········4·2018-08-01·06:43:49.000000·debian-binary
2 -rw-r--r--···0········0········0·····3680·2018-08-01·06:43:49.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3680·2018-08-01·06:43:49.000000·control.tar.xz
3 -rw-r--r--···0········0········0···714404·2018-08-01·06:43:49.000000·data.tar.xz3 -rw-r--r--···0········0········0···712124·2018-08-01·06:43:49.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
9.45 MB
data.tar.xz
9.45 MB
data.tar
3.09 MB
./usr/share/javascript/openlayers/OpenLayers.js
3.09 MB
js-beautify {}
    
Offset 263, 14 lines modifiedOffset 263, 161 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/BaseTypes/Pixel.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/BaseTypes/Class.js
 278 ·*/
  
 279 /**
 280 ·*·Class:·OpenLayers.Pixel
 281 ·*·This·class·represents·a·screen·coordinate,·in·x·and·y·coordinates
 282 ·*/
 283 OpenLayers.Pixel·=·OpenLayers.Class({
  
 284 ····/**
 285 ·····*·APIProperty:·x
 286 ·····*·{Number}·The·x·coordinate
 287 ·····*/
 288 ····x:·0.0,
  
 289 ····/**
 290 ·····*·APIProperty:·y
 291 ·····*·{Number}·The·y·coordinate
 292 ·····*/
 293 ····y:·0.0,
  
 294 ····/**
 295 ·····*·Constructor:·OpenLayers.Pixel
 296 ·····*·Create·a·new·OpenLayers.Pixel·instance
 297 ·····*
 298 ·····*·Parameters:
 299 ·····*·x·-·{Number}·The·x·coordinate
 300 ·····*·y·-·{Number}·The·y·coordinate
 301 ·····*
 302 ·····*·Returns:
 303 ·····*·An·instance·of·OpenLayers.Pixel
 304 ·····*/
 305 ····initialize:·function(x,·y)·{
 306 ········this.x·=·parseFloat(x);
 307 ········this.y·=·parseFloat(y);
 308 ····},
  
 309 ····/**
 310 ·····*·Method:·toString
 311 ·····*·Cast·this·object·into·a·string
 312 ·····*
 313 ·····*·Returns:
 314 ·····*·{String}·The·string·representation·of·Pixel.·ex:·"x=200.4,y=242.2"
 315 ·····*/
 316 ····toString:·function()·{
 317 ········return·("x="·+·this.x·+·",y="·+·this.y);
 318 ····},
  
 319 ····/**
 320 ·····*·APIMethod:·clone
 321 ·····*·Return·a·clone·of·this·pixel·object
 322 ·····*
 323 ·····*·Returns:
 324 ·····*·{<OpenLayers.Pixel>}·A·clone·pixel
 325 ·····*/
 326 ····clone:·function()·{
 327 ········return·new·OpenLayers.Pixel(this.x,·this.y);
 328 ····},
  
 329 ····/**
 330 ·····*·APIMethod:·equals
 331 ·····*·Determine·whether·one·pixel·is·equivalent·to·another
 332 ·····*
 333 ·····*·Parameters:
 334 ·····*·px·-·{<OpenLayers.Pixel>|Object}·An·OpenLayers.Pixel·or·an·object·with
 335 ·····*··································a·'x'·and·'y'·properties.
 336 ·····*
 337 ·····*·Returns:
 338 ·····*·{Boolean}·The·point·passed·in·as·parameter·is·equal·to·this.·Note·that
 339 ·····*·if·px·passed·in·is·null,·returns·false.
 340 ·····*/
 341 ····equals:·function(px)·{
 342 ········var·equals·=·false;
 343 ········if·(px·!=·null)·{
 344 ············equals·=·((this.x·==·px.x·&&·this.y·==·px.y)·||
 345 ················(isNaN(this.x)·&&·isNaN(this.y)·&&·isNaN(px.x)·&&·isNaN(px.y)));
 346 ········}
 347 ········return·equals;
 348 ····},
  
 349 ····/**
 350 ·····*·APIMethod:·distanceTo
 351 ·····*·Returns·the·distance·to·the·pixel·point·passed·in·as·a·parameter.
 352 ·····*
 353 ·····*·Parameters:
 354 ·····*·px·-·{<OpenLayers.Pixel>}
 355 ·····*
 356 ·····*·Returns:
 357 ·····*·{Float}·The·pixel·point·passed·in·as·parameter·to·calculate·the
 358 ·····*·····distance·to.
 359 ·····*/
 360 ····distanceTo:·function(px)·{
 361 ········return·Math.sqrt(
 362 ············Math.pow(this.x·-·px.x,·2)·+
 363 ············Math.pow(this.y·-·px.y,·2)
 364 ········);
 365 ····},
  
 366 ····/**
 367 ·····*·APIMethod:·add
 368 ·····*
 369 ·····*·Parameters:
 370 ·····*·x·-·{Integer}
 371 ·····*·y·-·{Integer}
 372 ·····*
 373 ·····*·Returns:
 374 ·····*·{<OpenLayers.Pixel>}·A·new·Pixel·with·this·pixel's·x&y·augmented·by·the·
 375 ·····*·values·passed·in.
 376 ·····*/
 377 ····add:·function(x,·y)·{
 378 ········if·((x·==·null)·||·(y·==·null))·{
Max diff block lines reached; 3235078/3239352 bytes (99.87%) of diff not shown.
1010 KB
./usr/share/javascript/openlayers/OpenLayers.min.js
1010 KB
js-beautify {}
    
Offset 62, 14 lines modifiedOffset 62, 52 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.Pixel·=·OpenLayers.Class({
 70 ····x:·0,
 71 ····y:·0,
 72 ····initialize:·function(x,·y)·{
 73 ········this.x·=·parseFloat(x);
 74 ········this.y·=·parseFloat(y)
 75 ····},
 76 ····toString:·function()·{
 77 ········return·"x="·+·this.x·+·",y="·+·this.y
 78 ····},
 79 ····clone:·function()·{
 80 ········return·new·OpenLayers.Pixel(this.x,·this.y)
 81 ····},
 82 ····equals:·function(px)·{
 83 ········var·equals·=·false;
 84 ········if·(px·!=·null)·{
 85 ············equals·=·this.x·==·px.x·&&·this.y·==·px.y·||·isNaN(this.x)·&&·isNaN(this.y)·&&·isNaN(px.x)·&&·isNaN(px.y)
 86 ········}
 87 ········return·equals
 88 ····},
 89 ····distanceTo:·function(px)·{
 90 ········return·Math.sqrt(Math.pow(this.x·-·px.x,·2)·+·Math.pow(this.y·-·px.y,·2))
 91 ····},
 92 ····add:·function(x,·y)·{
 93 ········if·(x·==·null·||·y·==·null)·{
 94 ············throw·new·TypeError("Pixel.add·cannot·receive·null·values")
 95 ········}
 96 ········return·new·OpenLayers.Pixel(this.x·+·x,·this.y·+·y)
 97 ····},
 98 ····offset:·function(px)·{
 99 ········var·newPx·=·this.clone();
 100 ········if·(px)·{
 101 ············newPx·=·this.add(px.x,·px.y)
 102 ········}
 103 ········return·newPx
 104 ····},
 105 ····CLASS_NAME:·"OpenLayers.Pixel"
 106 });
69 OpenLayers.String·=·{107 OpenLayers.String·=·{
70 ····startsWith:·function(str,·sub)·{108 ····startsWith:·function(str,·sub)·{
71 ········return·str.indexOf(sub)·==·0109 ········return·str.indexOf(sub)·==·0
72 ····},110 ····},
73 ····contains:·function(str,·sub)·{111 ····contains:·function(str,·sub)·{
74 ········return·str.indexOf(sub)·!=·-1112 ········return·str.indexOf(sub)·!=·-1
75 ····},113 ····},
Offset 659, 52 lines modifiedOffset 697, 14 lines modified
659 };697 };
660 OpenLayers.LonLat.fromArray·=·function(arr)·{698 OpenLayers.LonLat.fromArray·=·function(arr)·{
661 ····var·gotArr·=·OpenLayers.Util.isArray(arr),699 ····var·gotArr·=·OpenLayers.Util.isArray(arr),
662 ········lon·=·gotArr·&&·arr[0],700 ········lon·=·gotArr·&&·arr[0],
663 ········lat·=·gotArr·&&·arr[1];701 ········lat·=·gotArr·&&·arr[1];
664 ····return·new·OpenLayers.LonLat(lon,·lat)702 ····return·new·OpenLayers.LonLat(lon,·lat)
665 };703 };
666 OpenLayers.Pixel·=·OpenLayers.Class({ 
667 ····x:·0, 
668 ····y:·0, 
669 ····initialize:·function(x,·y)·{ 
670 ········this.x·=·parseFloat(x); 
671 ········this.y·=·parseFloat(y) 
672 ····}, 
673 ····toString:·function()·{ 
674 ········return·"x="·+·this.x·+·",y="·+·this.y 
675 ····}, 
676 ····clone:·function()·{ 
677 ········return·new·OpenLayers.Pixel(this.x,·this.y) 
678 ····}, 
679 ····equals:·function(px)·{ 
680 ········var·equals·=·false; 
681 ········if·(px·!=·null)·{ 
682 ············equals·=·this.x·==·px.x·&&·this.y·==·px.y·||·isNaN(this.x)·&&·isNaN(this.y)·&&·isNaN(px.x)·&&·isNaN(px.y) 
683 ········} 
684 ········return·equals 
685 ····}, 
686 ····distanceTo:·function(px)·{ 
687 ········return·Math.sqrt(Math.pow(this.x·-·px.x,·2)·+·Math.pow(this.y·-·px.y,·2)) 
688 ····}, 
689 ····add:·function(x,·y)·{ 
690 ········if·(x·==·null·||·y·==·null)·{ 
691 ············throw·new·TypeError("Pixel.add·cannot·receive·null·values") 
692 ········} 
693 ········return·new·OpenLayers.Pixel(this.x·+·x,·this.y·+·y) 
694 ····}, 
695 ····offset:·function(px)·{ 
696 ········var·newPx·=·this.clone(); 
697 ········if·(px)·{ 
698 ············newPx·=·this.add(px.x,·px.y) 
699 ········} 
700 ········return·newPx 
701 ····}, 
702 ····CLASS_NAME:·"OpenLayers.Pixel" 
703 }); 
704 OpenLayers.Size·=·OpenLayers.Class({704 OpenLayers.Size·=·OpenLayers.Class({
705 ····w:·0,705 ····w:·0,
706 ····h:·0,706 ····h:·0,
707 ····initialize:·function(w,·h)·{707 ····initialize:·function(w,·h)·{
708 ········this.w·=·parseFloat(w);708 ········this.w·=·parseFloat(w);
709 ········this.h·=·parseFloat(h)709 ········this.h·=·parseFloat(h)
710 ····},710 ····},
Offset 1605, 3600 lines modifiedOffset 1605, 14 lines modified
1605 ····if·(axis·==·"lon")·{1605 ····if·(axis·==·"lon")·{
1606 ········str·+=·coordinate·<·0·?·OpenLayers.i18n("W")·:·OpenLayers.i18n("E")1606 ········str·+=·coordinate·<·0·?·OpenLayers.i18n("W")·:·OpenLayers.i18n("E")
1607 ····}·else·{1607 ····}·else·{
1608 ········str·+=·coordinate·<·0·?·OpenLayers.i18n("S")·:·OpenLayers.i18n("N")1608 ········str·+=·coordinate·<·0·?·OpenLayers.i18n("S")·:·OpenLayers.i18n("N")
1609 ····}1609 ····}
1610 ····return·str1610 ····return·str
1611 };1611 };
1612 OpenLayers.Util·=·OpenLayers.Util·||·{}; 
1613 OpenLayers.Util.vendorPrefix·=·function()·{ 
1614 ····"use·strict"; 
1615 ····var·VENDOR_PREFIXES·=·["",·"O",·"ms",·"Moz",·"Webkit"], 
1616 ········divStyle·=·document.createElement("div").style, 
1617 ········cssCache·=·{}, 
1618 ········jsCache·=·{}; 
  
1619 ····function·domToCss(prefixedDom)·{ 
1620 ········if·(!prefixedDom)·{ 
1621 ············return·null 
1622 ········} 
1623 ········return·prefixedDom.replace(/([A-Z])/g,·function(c)·{ 
1624 ············return·"-"·+·c.toLowerCase() 
Max diff block lines reached; 887614/1029400 bytes (86.23%) of diff not shown.
4.21 MB
./usr/share/javascript/openlayers/OpenLayers.tests.js
4.21 MB
js-beautify {}
    
Offset 263, 14 lines modifiedOffset 263, 161 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/BaseTypes/Pixel.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/BaseTypes/Class.js
 278 ·*/
  
 279 /**
 280 ·*·Class:·OpenLayers.Pixel
 281 ·*·This·class·represents·a·screen·coordinate,·in·x·and·y·coordinates
 282 ·*/
 283 OpenLayers.Pixel·=·OpenLayers.Class({
  
 284 ····/**
 285 ·····*·APIProperty:·x
 286 ·····*·{Number}·The·x·coordinate
 287 ·····*/
 288 ····x:·0.0,
  
 289 ····/**
 290 ·····*·APIProperty:·y
 291 ·····*·{Number}·The·y·coordinate
 292 ·····*/
 293 ····y:·0.0,
  
 294 ····/**
 295 ·····*·Constructor:·OpenLayers.Pixel
 296 ·····*·Create·a·new·OpenLayers.Pixel·instance
 297 ·····*
 298 ·····*·Parameters:
 299 ·····*·x·-·{Number}·The·x·coordinate
 300 ·····*·y·-·{Number}·The·y·coordinate
 301 ·····*
 302 ·····*·Returns:
 303 ·····*·An·instance·of·OpenLayers.Pixel
 304 ·····*/
 305 ····initialize:·function(x,·y)·{
 306 ········this.x·=·parseFloat(x);
 307 ········this.y·=·parseFloat(y);
 308 ····},
  
 309 ····/**
 310 ·····*·Method:·toString
 311 ·····*·Cast·this·object·into·a·string
 312 ·····*
 313 ·····*·Returns:
 314 ·····*·{String}·The·string·representation·of·Pixel.·ex:·"x=200.4,y=242.2"
 315 ·····*/
 316 ····toString:·function()·{
 317 ········return·("x="·+·this.x·+·",y="·+·this.y);
 318 ····},
  
 319 ····/**
 320 ·····*·APIMethod:·clone
 321 ·····*·Return·a·clone·of·this·pixel·object
 322 ·····*
 323 ·····*·Returns:
 324 ·····*·{<OpenLayers.Pixel>}·A·clone·pixel
 325 ·····*/
 326 ····clone:·function()·{
 327 ········return·new·OpenLayers.Pixel(this.x,·this.y);
 328 ····},
  
 329 ····/**
 330 ·····*·APIMethod:·equals
 331 ·····*·Determine·whether·one·pixel·is·equivalent·to·another
 332 ·····*
 333 ·····*·Parameters:
 334 ·····*·px·-·{<OpenLayers.Pixel>|Object}·An·OpenLayers.Pixel·or·an·object·with
 335 ·····*··································a·'x'·and·'y'·properties.
 336 ·····*
 337 ·····*·Returns:
 338 ·····*·{Boolean}·The·point·passed·in·as·parameter·is·equal·to·this.·Note·that
 339 ·····*·if·px·passed·in·is·null,·returns·false.
 340 ·····*/
 341 ····equals:·function(px)·{
 342 ········var·equals·=·false;
 343 ········if·(px·!=·null)·{
 344 ············equals·=·((this.x·==·px.x·&&·this.y·==·px.y)·||
 345 ················(isNaN(this.x)·&&·isNaN(this.y)·&&·isNaN(px.x)·&&·isNaN(px.y)));
 346 ········}
 347 ········return·equals;
 348 ····},
  
 349 ····/**
 350 ·····*·APIMethod:·distanceTo
 351 ·····*·Returns·the·distance·to·the·pixel·point·passed·in·as·a·parameter.
 352 ·····*
 353 ·····*·Parameters:
 354 ·····*·px·-·{<OpenLayers.Pixel>}
 355 ·····*
 356 ·····*·Returns:
 357 ·····*·{Float}·The·pixel·point·passed·in·as·parameter·to·calculate·the
 358 ·····*·····distance·to.
 359 ·····*/
 360 ····distanceTo:·function(px)·{
 361 ········return·Math.sqrt(
 362 ············Math.pow(this.x·-·px.x,·2)·+
 363 ············Math.pow(this.y·-·px.y,·2)
 364 ········);
 365 ····},
  
 366 ····/**
 367 ·····*·APIMethod:·add
 368 ·····*
 369 ·····*·Parameters:
 370 ·····*·x·-·{Integer}
 371 ·····*·y·-·{Integer}
 372 ·····*
 373 ·····*·Returns:
 374 ·····*·{<OpenLayers.Pixel>}·A·new·Pixel·with·this·pixel's·x&y·augmented·by·the·
 375 ·····*·values·passed·in.
 376 ·····*/
 377 ····add:·function(x,·y)·{
 378 ········if·((x·==·null)·||·(y·==·null))·{
Max diff block lines reached; 4410800/4415074 bytes (99.90%) of diff not shown.
1.17 MB
./usr/share/javascript/openlayers/OpenLayers.tests.min.js
1.17 MB
js-beautify {}
    
Offset 62, 14 lines modifiedOffset 62, 52 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.Pixel·=·OpenLayers.Class({
 70 ····x:·0,
 71 ····y:·0,
 72 ····initialize:·function(x,·y)·{
 73 ········this.x·=·parseFloat(x);
 74 ········this.y·=·parseFloat(y)
 75 ····},
 76 ····toString:·function()·{
 77 ········return·"x="·+·this.x·+·",y="·+·this.y
 78 ····},
 79 ····clone:·function()·{
 80 ········return·new·OpenLayers.Pixel(this.x,·this.y)
 81 ····},
 82 ····equals:·function(px)·{
 83 ········var·equals·=·false;
 84 ········if·(px·!=·null)·{
 85 ············equals·=·this.x·==·px.x·&&·this.y·==·px.y·||·isNaN(this.x)·&&·isNaN(this.y)·&&·isNaN(px.x)·&&·isNaN(px.y)
 86 ········}
 87 ········return·equals
 88 ····},
 89 ····distanceTo:·function(px)·{
 90 ········return·Math.sqrt(Math.pow(this.x·-·px.x,·2)·+·Math.pow(this.y·-·px.y,·2))
 91 ····},
 92 ····add:·function(x,·y)·{
 93 ········if·(x·==·null·||·y·==·null)·{
 94 ············throw·new·TypeError("Pixel.add·cannot·receive·null·values")
 95 ········}
 96 ········return·new·OpenLayers.Pixel(this.x·+·x,·this.y·+·y)
 97 ····},
 98 ····offset:·function(px)·{
 99 ········var·newPx·=·this.clone();
 100 ········if·(px)·{
 101 ············newPx·=·this.add(px.x,·px.y)
 102 ········}
 103 ········return·newPx
 104 ····},
 105 ····CLASS_NAME:·"OpenLayers.Pixel"
 106 });
69 OpenLayers.String·=·{107 OpenLayers.String·=·{
70 ····startsWith:·function(str,·sub)·{108 ····startsWith:·function(str,·sub)·{
71 ········return·str.indexOf(sub)·==·0109 ········return·str.indexOf(sub)·==·0
72 ····},110 ····},
73 ····contains:·function(str,·sub)·{111 ····contains:·function(str,·sub)·{
74 ········return·str.indexOf(sub)·!=·-1112 ········return·str.indexOf(sub)·!=·-1
75 ····},113 ····},
Offset 659, 52 lines modifiedOffset 697, 14 lines modified
659 };697 };
660 OpenLayers.LonLat.fromArray·=·function(arr)·{698 OpenLayers.LonLat.fromArray·=·function(arr)·{
661 ····var·gotArr·=·OpenLayers.Util.isArray(arr),699 ····var·gotArr·=·OpenLayers.Util.isArray(arr),
662 ········lon·=·gotArr·&&·arr[0],700 ········lon·=·gotArr·&&·arr[0],
663 ········lat·=·gotArr·&&·arr[1];701 ········lat·=·gotArr·&&·arr[1];
664 ····return·new·OpenLayers.LonLat(lon,·lat)702 ····return·new·OpenLayers.LonLat(lon,·lat)
665 };703 };
666 OpenLayers.Pixel·=·OpenLayers.Class({ 
667 ····x:·0, 
668 ····y:·0, 
669 ····initialize:·function(x,·y)·{ 
670 ········this.x·=·parseFloat(x); 
671 ········this.y·=·parseFloat(y) 
672 ····}, 
673 ····toString:·function()·{ 
674 ········return·"x="·+·this.x·+·",y="·+·this.y 
675 ····}, 
676 ····clone:·function()·{ 
677 ········return·new·OpenLayers.Pixel(this.x,·this.y) 
678 ····}, 
679 ····equals:·function(px)·{ 
680 ········var·equals·=·false; 
681 ········if·(px·!=·null)·{ 
682 ············equals·=·this.x·==·px.x·&&·this.y·==·px.y·||·isNaN(this.x)·&&·isNaN(this.y)·&&·isNaN(px.x)·&&·isNaN(px.y) 
683 ········} 
684 ········return·equals 
685 ····}, 
686 ····distanceTo:·function(px)·{ 
687 ········return·Math.sqrt(Math.pow(this.x·-·px.x,·2)·+·Math.pow(this.y·-·px.y,·2)) 
688 ····}, 
689 ····add:·function(x,·y)·{ 
690 ········if·(x·==·null·||·y·==·null)·{ 
691 ············throw·new·TypeError("Pixel.add·cannot·receive·null·values") 
692 ········} 
693 ········return·new·OpenLayers.Pixel(this.x·+·x,·this.y·+·y) 
694 ····}, 
695 ····offset:·function(px)·{ 
696 ········var·newPx·=·this.clone(); 
697 ········if·(px)·{ 
698 ············newPx·=·this.add(px.x,·px.y) 
699 ········} 
700 ········return·newPx 
701 ····}, 
702 ····CLASS_NAME:·"OpenLayers.Pixel" 
703 }); 
704 OpenLayers.Size·=·OpenLayers.Class({704 OpenLayers.Size·=·OpenLayers.Class({
705 ····w:·0,705 ····w:·0,
706 ····h:·0,706 ····h:·0,
707 ····initialize:·function(w,·h)·{707 ····initialize:·function(w,·h)·{
708 ········this.w·=·parseFloat(w);708 ········this.w·=·parseFloat(w);
709 ········this.h·=·parseFloat(h)709 ········this.h·=·parseFloat(h)
710 ····},710 ····},
Offset 1605, 3600 lines modifiedOffset 1605, 14 lines modified
1605 ····if·(axis·==·"lon")·{1605 ····if·(axis·==·"lon")·{
1606 ········str·+=·coordinate·<·0·?·OpenLayers.i18n("W")·:·OpenLayers.i18n("E")1606 ········str·+=·coordinate·<·0·?·OpenLayers.i18n("W")·:·OpenLayers.i18n("E")
1607 ····}·else·{1607 ····}·else·{
1608 ········str·+=·coordinate·<·0·?·OpenLayers.i18n("S")·:·OpenLayers.i18n("N")1608 ········str·+=·coordinate·<·0·?·OpenLayers.i18n("S")·:·OpenLayers.i18n("N")
1609 ····}1609 ····}
1610 ····return·str1610 ····return·str
1611 };1611 };
1612 OpenLayers.Util·=·OpenLayers.Util·||·{}; 
1613 OpenLayers.Util.vendorPrefix·=·function()·{ 
1614 ····"use·strict"; 
1615 ····var·VENDOR_PREFIXES·=·["",·"O",·"ms",·"Moz",·"Webkit"], 
1616 ········divStyle·=·document.createElement("div").style, 
1617 ········cssCache·=·{}, 
1618 ········jsCache·=·{}; 
  
1619 ····function·domToCss(prefixedDom)·{ 
1620 ········if·(!prefixedDom)·{ 
1621 ············return·null 
1622 ········} 
1623 ········return·prefixedDom.replace(/([A-Z])/g,·function(c)·{ 
1624 ············return·"-"·+·c.toLowerCase() 
Max diff block lines reached; 1080654/1222440 bytes (88.40%) of diff not shown.