comparison client/digitallibrary/jquery/jquery.digilib.js @ 791:304488c72344 jquery

first step to birdseye view as a plugin.
author robcast
date Fri, 18 Feb 2011 10:39:40 +0100
parents baa98b639126
children d742bd92b05a 63c1b33e38b1
comparison
equal deleted inserted replaced
790:baa98b639126 791:304488c72344
316 delete cp.pn; 316 delete cp.pn;
317 $.extend(params, cp); 317 $.extend(params, cp);
318 } 318 }
319 } 319 }
320 } 320 }
321 // store $(this) element in the settings 321 // store $(this) element in data
322 elemSettings = $.extend({}, settings, params); 322 elemSettings = $.extend({}, settings, params);
323 data = { 323 data = {
324 $elem : $elem, 324 $elem : $elem,
325 settings : elemSettings, 325 settings : elemSettings,
326 queryParams : params, 326 queryParams : params,
1778 console.error = logFunction('_error'); 1778 console.error = logFunction('_error');
1779 } 1779 }
1780 1780
1781 // functions to export to plugins 1781 // functions to export to plugins
1782 fn = { 1782 fn = {
1783 geom : geom, 1783 geometry : geom,
1784 FULL_AREA : FULL_AREA,
1784 parseQueryString : parseQueryString, 1785 parseQueryString : parseQueryString,
1785 getScalerUrl : getScalerUrl, 1786 getScalerUrl : getScalerUrl,
1786 getParamString : getParamString, 1787 getParamString : getParamString,
1787 getDigilibUrl : getDigilibUrl, 1788 getDigilibUrl : getDigilibUrl,
1788 unpackParams : unpackParams, 1789 unpackParams : unpackParams,
1789 packParams : packParams, 1790 packParams : packParams,
1790 redisplay : redisplay, 1791 redisplay : redisplay,
1791 updateDisplay : updateDisplay, 1792 updateDisplay : updateDisplay,
1793 showDiv : showDiv,
1792 getImgTrafo : getImgTrafo, 1794 getImgTrafo : getImgTrafo,
1793 getQuality : getQuality, 1795 getQuality : getQuality,
1794 setQuality : setQuality, 1796 setQuality : setQuality,
1795 getScaleMode : getScaleMode, 1797 getScaleMode : getScaleMode,
1796 setScaleMode : setScaleMode, 1798 setScaleMode : setScaleMode,