-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1372 from ProjectMirador/2.4.0
Merge 2.4.0 development branch into master
- Loading branch information
Showing
30 changed files
with
25,268 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# remove previous packages | ||
rm -rf build/mirador* | ||
|
||
# build package | ||
node_modules/.bin/grunt package | ||
|
||
# mk tmp release dir | ||
mkdir -p build/tmp/build/mirador | ||
|
||
# unzip build | ||
unzip build/mirador.zip -d build/tmp/build | ||
|
||
# add example | ||
cp examples/example.html build/tmp/build | ||
|
||
cd build/tmp | ||
|
||
# zip it up | ||
zip -r build/build.zip build/ | ||
mv build/build.zip ../ | ||
|
||
tar -czvf build/build.tar.gz build/ | ||
mv build/build.tar.gz ../ | ||
|
||
cd - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# remove previous packages | ||
rm -rf build/mirador* | ||
|
||
# build package | ||
node_modules/.bin/grunt package | ||
|
||
# mk tmp release dir | ||
mkdir build/tmp | ||
|
||
# unzip build | ||
unzip build/mirador.zip -d build/tmp | ||
|
||
# checkout github pages | ||
git checkout gh-pages | ||
|
||
# remove directories | ||
rm -rf demo/css demo/fonts demo/images demo/locales demo/plugins demo/skins demo/themes | ||
|
||
# copy over new directories | ||
cp -R build/tmp/mirador/css demo | ||
cp -R build/tmp/mirador/fonts demo | ||
cp -R build/tmp/mirador/images demo | ||
cp -R build/tmp/mirador/locales demo | ||
cp -R build/tmp/mirador/plugins demo | ||
cp -R build/tmp/mirador/skins demo | ||
cp -R build/tmp/mirador/themes demo | ||
|
||
# Copy over files | ||
cp build/tmp/mirador/mirador.min.js demo | ||
cp build/tmp/mirador/ZeroClipboard.swf demo | ||
|
||
# Clean up extra files | ||
rm demo/css/mirador-combined.css | ||
|
||
# Clean up unpacked build | ||
rm -rf build/tmp | ||
|
||
# Add and commit demo files | ||
git add demo/ | ||
git commit -m 'update demo' | ||
git push origin gh-pages | ||
|
||
git checkout - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
<link rel="stylesheet" type="text/css" href="mirador/css/mirador-combined.css"> | ||
<title>Mirador Viewer</title> | ||
<style type="text/css"> | ||
#viewer { | ||
width: 100%; | ||
height: 100%; | ||
position: fixed; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div id="viewer"></div> | ||
|
||
<script src="mirador/mirador.min.js"></script> | ||
<script type="text/javascript"> | ||
|
||
$(function() { | ||
myMiradorInstance = Mirador({ | ||
id: "viewer", | ||
layout: "1x1", | ||
buildPath: "mirador/", | ||
data: [ | ||
{ manifestUri: "https://iiif.lib.harvard.edu/manifests/drs:48309543", location: "Harvard University"}, | ||
{ manifestUri: "https://iiif.lib.harvard.edu/manifests/drs:5981093", location: "Harvard University"}, | ||
{ manifestUri: "https://iiif.lib.harvard.edu/manifests/via:olvwork576793", location: "Harvard University"}, | ||
{ manifestUri: "https://iiif.lib.harvard.edu/manifests/drs:14033171", location: "Harvard University"}, | ||
{ manifestUri: "https://iiif.lib.harvard.edu/manifests/drs:46909368", location: "Harvard University"}, | ||
{ manifestUri: "https://iiif.lib.harvard.edu/manifests/drs:48331776", location: "Harvard University"}, | ||
{ manifestUri: "http://iiif.harvardartmuseums.org/manifests/object/299843", location: "Harvard University"}, | ||
{ manifestUri: "http://iiif.harvardartmuseums.org/manifests/object/304136", location: "Harvard University"}, | ||
{ manifestUri: "http://iiif.harvardartmuseums.org/manifests/object/198021", location: "Harvard University"}, | ||
{ manifestUri: "http://iiif.harvardartmuseums.org/manifests/object/320567", location: "Harvard University"}, | ||
{ manifestUri: "https://purl.stanford.edu/qm670kv1873/iiif/manifest.json", location: "Stanford University"}, | ||
{ manifestUri: "https://purl.stanford.edu/jr903ng8662/iiif/manifest.json", location: "Stanford University"}, | ||
{ manifestUri: "https://purl.stanford.edu/ch264fq0568/iiif/manifest.json", location: "Stanford University"}, | ||
{ manifestUri: "https://purl.stanford.edu/wh234bz9013/iiif/manifest.json", location: "Stanford University"}, | ||
{ manifestUri: "https://purl.stanford.edu/rd447dz7630/iiif/manifest.json", location: "Stanford University"}, | ||
{ manifestUri: "http://dms-data.stanford.edu/data/manifests/Stanford/ege1/manifest.json", location: "Stanford University"}, | ||
{ manifestUri: "http://dams.llgc.org.uk/iiif/4574752/manifest.json", location: "National Library of Wales"}, | ||
{ manifestUri: "http://dev.llgc.org.uk/iiif/ww1posters.json", location: "National Library of Wales"}, | ||
{ manifestUri: "http://dams.llgc.org.uk/iiif/newspaper/issue/3320640/manifest.json", location: "National Library of Wales"}, | ||
{ manifestUri: "http://dams.llgc.org.uk/iiif/2.0/1465298/manifest.json", location: "National Library of Wales"}, | ||
{ manifestUri: "http://manifests.ydc2.yale.edu/manifest/Admont23", location: "Yale University"}, | ||
{ manifestUri: "http://manifests.ydc2.yale.edu/manifest/Admont43", location: "Yale University"}, | ||
{ manifestUri: "http://manifests.ydc2.yale.edu/manifest/BeineckeMS10", location: "Yale University"}, | ||
{ manifestUri: "http://manifests.britishart.yale.edu/manifest/5005", location: "Yale Center For British Art"}, | ||
{ manifestUri: "http://manifests.britishart.yale.edu/manifest/1474", location: "Yale Center For British Art"}, | ||
{ manifestUri: "http://iiif.bodleian.ox.ac.uk/iiif/manifest/51a65464-6408-4a78-9fd1-93e1fa995b9c.json", location: "Bodleian Libraries"}, | ||
{ manifestUri: "http://iiif.bodleian.ox.ac.uk/iiif/manifest/f19aeaf9-5aba-4cee-be32-584663ff1ef1.json", location: "Bodleian Libraries"}, | ||
{ manifestUri: "http://iiif.bodleian.ox.ac.uk/iiif/manifest/3b31c0a9-3dab-4801-b3dc-f2a3e3786d34.json", location: "Bodleian Libraries"}, | ||
{ manifestUri: "http://iiif.bodleian.ox.ac.uk/iiif/manifest/e32a277e-91e2-4a6d-8ba6-cc4bad230410.json", location: "Bodleian Libraries"}, | ||
{ manifestUri: "http://gallica.bnf.fr/iiif/ark:/12148/btv1b84539771/manifest.json", location: 'BnF'}, | ||
{ manifestUri: "http://gallica.bnf.fr/iiif/ark:/12148/btv1b10500687r/manifest.json", location: 'BnF'}, | ||
{ manifestUri: "http://gallica.bnf.fr/iiif/ark:/12148/btv1b55002605w/manifest.json", location: 'BnF'}, | ||
{ manifestUri: "http://gallica.bnf.fr/iiif/ark:/12148/btv1b55002481n/manifest.json", location: 'BnF'}, | ||
{ manifestUri: "http://www.e-codices.unifr.ch/metadata/iiif/sl-0002/manifest.json", location: 'e-codices'}, | ||
{ manifestUri: "http://www.e-codices.unifr.ch/metadata/iiif/bge-cl0015/manifest.json", location: 'e-codices'}, | ||
{ manifestUri: "http://www.e-codices.unifr.ch/metadata/iiif/fmb-cb-0600a/manifest.json", location: 'e-codices'}, | ||
{ manifestUri: "https://data.ucd.ie/api/img/manifests/ucdlib:33064", location: "University College Dublin"}, | ||
{ manifestUri: "https://data.ucd.ie/api/img/manifests/ucdlib:40851", location: "University College Dublin"}, | ||
{ manifestUri: "https://data.ucd.ie/api/img/manifests/ucdlib:30708", location: "University College Dublin"}, | ||
{ manifestUri: "http://dzkimgs.l.u-tokyo.ac.jp/iiif/zuzoubu/12b02/manifest.json", location: "University of Tokyo"}, | ||
{ manifestUri: "http://www2.dhii.jp/nijl/NIJL0018/099-0014/manifest_tags.json", location: "NIJL"}, | ||
{ manifestUri: "http://digi.vatlib.it/iiif/MSS_Vat.lat.3225/manifest.json", location: "Vatican Library"}, | ||
{ manifestUri: "http://media.nga.gov/public/manifests/nga_highlights.json", location: "National Gallery of Art"} | ||
], | ||
windowObjects: [], | ||
annotationEndpoint: { | ||
name:"Local Storage", | ||
module: "LocalStorageEndpoint" } | ||
}); | ||
}); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.