Skip to content

Commit

Permalink
Merge pull request #459 from andygup/sort
Browse files Browse the repository at this point in the history
v3.1.0
  • Loading branch information
andygup committed Apr 21, 2016
2 parents 861097e + 144abba commit 6f2a71a
Show file tree
Hide file tree
Showing 15 changed files with 42 additions and 58 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# offline-editor-js - Changelog

## Version 3.1.0 - April 21, 2016

No breaking changes.

**Bug Fixes**
* Closes #458 - old prototype extension causing breaking failures.

## Version 3.0.7 - April 14, 2016

No breaking changes.
Expand Down
3 changes: 0 additions & 3 deletions dist/offline-edit-advanced-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/offline-edit-advanced-src.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! esri-offline-maps - v3.0.6 - 2016-03-30
/*! esri-offline-maps - v3.1.0 - 2016-04-21
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
* Apache License*/
// Configure offline/online detection
Expand Down
3 changes: 0 additions & 3 deletions dist/offline-edit-basic-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/offline-edit-basic-src.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! esri-offline-maps - v3.0.6 - 2016-03-30
/*! esri-offline-maps - v3.1.0 - 2016-04-21
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
* Apache License*/
// Configure offline/online detection
Expand Down
8 changes: 2 additions & 6 deletions dist/offline-tiles-advanced-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 9 additions & 12 deletions dist/offline-tiles-advanced-src.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*! esri-offline-maps - v3.0.6 - 2016-03-30
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
* Apache License*/
/*! esri-offline-maps - v3.1.0 - 2016-04-21
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
* Apache License*/
define([
"dojo/query",
"dojo/request",
Expand Down Expand Up @@ -51,9 +51,6 @@ define([

this._tilesCore = new O.esri.Tiles.TilesCore();

//For calculating minZoom and maxZoom
Array.prototype.sortNumber = function(){return this.sort(function(a,b){return a - b;});};

this._self = this;
this._lastTileUrl = "";
this._imageType = "";
Expand Down Expand Up @@ -566,7 +563,7 @@ define([
req.send(null);
}
}); // declare
}); // define
}); // define
/**
* Creates a namespace for the non-AMD libraries in this directory
*/
Expand All @@ -581,7 +578,7 @@ else{
};
}

//"use strict";
//"use strict";
/*jslint bitwise: true */

O.esri.Tiles.Base64Utils={};
Expand Down Expand Up @@ -663,7 +660,7 @@ O.esri.Tiles.Base64Utils.wordToBase64=function(/* word[] */wa){
return s.join(""); // string
};

/*jslint bitwise: false */
/*jslint bitwise: false */
/* FileSaver.js
* A saveAs() FileSaver implementation.
* 2013-10-21
Expand Down Expand Up @@ -900,7 +897,7 @@ O.esri.Tiles.saveAs =

//if (typeof module !== 'undefined') module.exports = saveAs;



/**
* This library contains common core code between OfflineTilesBasic.js
* and OfflineTilesAdvanced.js
Expand Down Expand Up @@ -1295,7 +1292,7 @@ O.esri.Tiles.TilesCore = function(){
};





/*global indexedDB */
/**
Expand Down Expand Up @@ -1557,7 +1554,7 @@ O.esri.Tiles.TilesStore = function(){
};
};



O.esri.Tiles.TilingScheme = function (layer) {
this.tileInfo = layer.tileInfo;
};
Expand Down
6 changes: 1 addition & 5 deletions dist/offline-tiles-basic-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions dist/offline-tiles-basic-src.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*! esri-offline-maps - v3.0.6 - 2016-03-30
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
* Apache License*/
/*! esri-offline-maps - v3.1.0 - 2016-04-21
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
* Apache License*/
define([
"dojo/query",
"dojo/request",
Expand Down Expand Up @@ -394,7 +394,7 @@ define([
}); // declare
}); // define



/**
* Creates a namespace for the non-AMD libraries in this directory
*/
Expand All @@ -409,7 +409,7 @@ else{
};
}

//"use strict";
//"use strict";
/*jslint bitwise: true */

O.esri.Tiles.Base64Utils={};
Expand Down Expand Up @@ -491,7 +491,7 @@ O.esri.Tiles.Base64Utils.wordToBase64=function(/* word[] */wa){
return s.join(""); // string
};

/*jslint bitwise: false */
/*jslint bitwise: false */
/* FileSaver.js
* A saveAs() FileSaver implementation.
* 2013-10-21
Expand Down Expand Up @@ -728,7 +728,7 @@ O.esri.Tiles.saveAs =

//if (typeof module !== 'undefined') module.exports = saveAs;



/**
* This library contains common core code between OfflineTilesBasic.js
* and OfflineTilesAdvanced.js
Expand Down Expand Up @@ -1123,7 +1123,7 @@ O.esri.Tiles.TilesCore = function(){
};





/*global indexedDB */
/**
Expand Down Expand Up @@ -1385,7 +1385,7 @@ O.esri.Tiles.TilesStore = function(){
};
};



O.esri.Tiles.TilingScheme = function (layer) {
this.tileInfo = layer.tileInfo;
};
Expand Down
3 changes: 0 additions & 3 deletions dist/offline-tpk-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions dist/offline-tpk-src.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*! esri-offline-maps - v3.0.6 - 2016-03-30
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
* Apache License*/
/*! esri-offline-maps - v3.1.0 - 2016-04-21
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
* Apache License*/
/**
* Library for reading an ArcGIS Tile Package (.tpk) file and displaying the tiles
* as a map that can be used both online and offline.
Expand Down Expand Up @@ -720,7 +720,7 @@ define([
}
});
}
);
);
/**
* Creates a namespace for the non-AMD libraries in this directory
*/
Expand All @@ -738,7 +738,7 @@ else{
}

//"use strict";



/*global indexedDB */
/**
Expand Down Expand Up @@ -1000,7 +1000,7 @@ O.esri.Tiles.TilesStore = function(){
};
};



//https://github.com/gildas-lormeau/zip.js/blob/master/WebContent/zip.js
/*
Copyright (c) 2013 Gildas Lormeau. All rights reserved.
Expand Down Expand Up @@ -1807,7 +1807,7 @@ O.esri.Tiles.TilesStore = function(){
useWebWorkers : true
};

}(O.esri));
}(O.esri));
/**
* This library assists with autoCenter the map upon orientation change
* IMPORTANT: There are Esri dependencies in this library including
Expand Down Expand Up @@ -1941,7 +1941,7 @@ O.esri.TPK.autoCenterMap = function(/* Map */ map,/* int */ delay){
var centerPt = map.extent.getCenter();
_setCenterPt(centerPt.x,centerPt.y,map.spatialReference.wkid);
};
};
};
/*
Copyright (c) 2013 Gildas Lormeau. All rights reserved.
Expand Down Expand Up @@ -4120,7 +4120,7 @@ O.esri.TPK.___blobURL = URL.createObjectURL(
)

O.esri.zip.workerScriptsPath = O.esri.TPK.___blobURL;


//https://github.com/abdmob/x2js/blob/master/xml2json.js
/*
Copyright 2011-2013 Abdulla Abdurakhmanov
Expand Down
3 changes: 0 additions & 3 deletions lib/tiles/OfflineTilesAdvanced.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ define([

this._tilesCore = new O.esri.Tiles.TilesCore();

//For calculating minZoom and maxZoom
Array.prototype.sortNumber = function(){return this.sort(function(a,b){return a - b;});};

this._self = this;
this._lastTileUrl = "";
this._imageType = "";
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "esri-offline-maps",
"version": "3.0.7",
"version": "3.1.0",
"description": "Lightweight set of libraries for working offline with map tiles and editing with ArcGIS feature services",
"author": "Andy Gup <agup@esri.com> (http://blog.andygup.net)",
"license": "Apache 2.0",
Expand Down
2 changes: 1 addition & 1 deletion samples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"appHomePage": "appcache-tiles.html",
"optimizedApiURL": "../samples/jsolib",
"arcGISBaseURL": "http://js.arcgis.com/3.14",
"version": "3.0.7",
"version": "3.1.0",
"private": true,
"description": "manifest generator project",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion test/spec/offlineTilesAdvancedSpec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict"

describe("offline enabler custom layer library", function()
describe("offline tiles advanced custom layer library", function()
{
var async = new AsyncSpec(this);

Expand Down

0 comments on commit 6f2a71a

Please sign in to comment.