Skip to content

Commit

Permalink
add a iiif info.json fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
mejackreed committed Apr 5, 2016
1 parent 713e719 commit aa3dfd6
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 1 deletion.
45 changes: 45 additions & 0 deletions spec/fixtures/mlk_info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "https://stacks.stanford.edu/image/iiif/hg676jb4964%252F0380_796-44",
"width": 5426,
"height": 3820,
"protocol": "http://iiif.io/api/image",
"sizes": [
{
"height": 239,
"width": 340
},
{
"height": 478,
"width": 679
},
{
"height": 955,
"width": 1357
},
{
"height": 1910,
"width": 2713
},
{
"height": 3820,
"width": 5426
}
],
"tiles": [
{
"width": 1024,
"height": 1024,
"scaleFactors": [
1,
2,
4,
8,
16
]
}
],
"profile": [
"http://iiif.io/api/image/2/level0.json"
]
}
10 changes: 9 additions & 1 deletion spec/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,15 @@ module.exports = function(config) {
// list of files / patterns to load in the browser
files: [
'./../node_modules/leaflet/dist/leaflet.js',
'./**/*.js'
'./../node_modules/jquery/dist/jquery.js',
'./../leaflet-iiif.js',
'./**/*.js',
{
pattern: './fixtures/*.json',
watched: true,
served: true,
included: false,
}
],


Expand Down

0 comments on commit aa3dfd6

Please sign in to comment.