manifesto.js
Advanced tools
Comparing version
@@ -16,3 +16,2 @@ "use strict"; | ||
var normalize_url_1 = require("normalize-url"); | ||
var _1 = require("."); | ||
var CanvasWorld = /** @class */ (function () { | ||
@@ -25,3 +24,3 @@ /** | ||
if (viewingDirection === void 0) { viewingDirection = dist_commonjs_1.ViewingDirection.LEFT_TO_RIGHT; } | ||
this.canvases = canvases.map(function (c) { return new _1.Canvas(c); }); | ||
this.canvases = canvases; //.map(c => new Canvas(c)); UV has already parsed the canvases by this point | ||
this.layers = layers; | ||
@@ -28,0 +27,0 @@ this.viewingDirection = viewingDirection; |
@@ -14,3 +14,2 @@ var __assign = (this && this.__assign) || function () { | ||
import normalizeUrl from "normalize-url"; | ||
import { Canvas } from "."; | ||
var CanvasWorld = /** @class */ (function () { | ||
@@ -23,3 +22,3 @@ /** | ||
if (viewingDirection === void 0) { viewingDirection = ViewingDirection.LEFT_TO_RIGHT; } | ||
this.canvases = canvases.map(function (c) { return new Canvas(c); }); | ||
this.canvases = canvases; //.map(c => new Canvas(c)); UV has already parsed the canvases by this point | ||
this.layers = layers; | ||
@@ -26,0 +25,0 @@ this.viewingDirection = viewingDirection; |
{ | ||
"name": "manifesto.js", | ||
"version": "4.3.0-pre-2", | ||
"version": "4.3.0-pre-3", | ||
"description": "IIIF Presentation API utility library for client and server", | ||
@@ -5,0 +5,0 @@ "main": "./dist-commonjs/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
36708273
0278231
0