From 86f101f02cad4b7cb6dd3681cc2c7bfa44946f44 Mon Sep 17 00:00:00 2001 From: thatcher Date: Tue, 26 Mar 2013 09:25:56 -0400 Subject: [PATCH] refs #54 - pointing deprecated method at correct current method. --- src/openseadragon.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/openseadragon.js b/src/openseadragon.js index 3b6528f2..186f48c1 100644 --- a/src/openseadragon.js +++ b/src/openseadragon.js @@ -1385,17 +1385,16 @@ window.OpenSeadragon = window.OpenSeadragon || function( options ){ /** - * Loads a Deep Zoom Image description from a url, XML string or JSON string - * and provides a callback hook for the resulting Document + * Fully deprecated. Will throw an error. * @function * @name OpenSeadragon.createFromDZI * @param {String} xmlUrl * @param {String} xmlString * @param {Function} callback - * @deprecated - use Viewer.openTileSource + * @deprecated - use OpenSeadragon.Viewer.prototype.open */ createFromDZI: function( dzi, callback, tileHost ) { - throw "OpenSeadragon.createFromDZI is deprecated, use Viewer.openTileSource."; + throw "OpenSeadragon.createFromDZI is deprecated, use Viewer.open."; }, /**