Skip to content

Commit

Permalink
Merged our fork (1.8.39) to UV main fork (2.0.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
fjdean committed Nov 20, 2017
1 parent 3a61861 commit f71722a
Show file tree
Hide file tree
Showing 12 changed files with 342 additions and 2,939 deletions.
8 changes: 4 additions & 4 deletions dist/uv-2.0.2/lib/app.js

Large diffs are not rendered by default.

21 changes: 10 additions & 11 deletions dist/uv-2.0.2/lib/bundle.min.js

Large diffs are not rendered by default.

11 changes: 9 additions & 2 deletions dist/uv-2.0.2/lib/embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ docReady(function() {
* Taken from http://stackoverflow.com/a/6832721/11236
*/
function compareVersionNumbers(v1, v2){

var v1parts = v1.split('.');
var v2parts = v2.split('.');

Expand Down Expand Up @@ -154,8 +155,14 @@ docReady(function() {
return 0;
}

// only load jQuery if not already included in page.
if (!(j = window.jQuery) || compareVersionNumbers(version, j.fn.jquery) || callback(j, scriptUri, absScriptUri, loaded)) {
function correctVersionOfJqueryAvailable(version) {
var comparison = compareVersionNumbers(version, j.fn.jquery);
return comparison === -1 || comparison === 0;
}

// load jQuery if not already included in page or
// if the version we want (1.10.2) is greater than what's available
if (!(j = window.jQuery) || !correctVersionOfJqueryAvailable(version) || callback(j, scriptUri, absScriptUri, loaded)) {
var script = document.createElement("script");
script.type = "text/javascript";
script.src = "//cdnjs.cloudflare.com/ajax/libs/jquery/" + version + "/jquery.min.js";
Expand Down
20 changes: 10 additions & 10 deletions dist/uv-2.0.2/lib/openseadragon.min.js

Large diffs are not rendered by default.

37 changes: 23 additions & 14 deletions dist/uv-2.0.2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,20 @@
"url": "https://github.com/universalviewer/universalviewer/issues"
},
"scripts": {
"postinstall": "opencollective postinstall"
},
"homepage": "https://github.com/universalviewer/universalviewer",
"devDependencies": {
"async": "^0.9.0",
"base-component": "viewdir/base-component#v1.0.8",
"async": "^0.9.0"
},
"dependencies": {
"opencollective": "^1.0.3",
"base-component": "iiif-commons/base-component#v1.0.8",
"chalk": "^0.5.1",
"cucumber": "^0.4.5",
"eventemitter2": "^1.0.3",
"exjs": "BSick7/exjs",
"extensions": "edsilv/extensions",
"extensions": "edsilv/extensions#v0.1.11",
"glob": "^4.3.5",
"glob-array": "^0.1.2",
"grunt": "^0.4.5",
Expand All @@ -41,24 +45,29 @@
"grunt-text-replace": "~0.3.7",
"grunt-typescript": "^0.8.0",
"hooker": "^0.2.3",
"http-status-codes": "edsilv/http-status-codes",
"iiif-gallery-component": "viewdir/iiif-gallery-component#v1.0.6",
"iiif-metadata-component": "viewdir/iiif-metadata-component#v1.0.10",
"iiif-tree-component": "viewdir/iiif-tree-component#v1.0.7",
"jquery-plugins": "edsilv/jquery-plugins",
"jquery-tiny-pubsub": "edsilv/jquery-tiny-pubsub",
"json-schema-generator": "krg7880/json-schema-generator",
"key-codes": "edsilv/key-codes",
"http-status-codes": "edsilv/http-status-codes#v0.0.5",
"iiif-gallery-component": "iiif-commons/iiif-gallery-component#v1.0.6",
"iiif-metadata-component": "iiif-commons/iiif-metadata-component#v1.0.10",
"iiif-tree-component": "iiif-commons/iiif-tree-component#v1.0.7",
"jquery-plugins": "edsilv/jquery-plugins#v0.0.26",
"jquery-tiny-pubsub": "edsilv/jquery-tiny-pubsub#v0.7.2",
"json-schema-generator": "edsilv/json-schema-generator",
"key-codes": "edsilv/key-codes#v0.0.6",
"less": "^2.4.0",
"lodash": "^3.1.0",
"manifold": "viewdir/manifold#v1.1.12",
"manifold": "iiif-commons/manifold#v1.1.12",
"ncp": "^2.0.0",
"openseadragon": "^2.2.1",
"protractor": "1.3.1",
"requirejs": "2.2.0",
"three.js": "^0.73.0",
"units": "edsilv/Units",
"utils": "edsilv/utils",
"utils": "edsilv/utils#v0.0.38",
"virtex3d": "^0.2.6"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/universalviewer",
"logo": "https://opencollective.com/opencollective/logo.txt"
}
}
}
3,174 changes: 276 additions & 2,898 deletions src/lib/bundle.js

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions src/lib/bundle.min.js

Large diffs are not rendered by default.

0 comments on commit f71722a

Please sign in to comment.