Mercurial > hg > digilib-old
comparison client/digitallibrary/jquery/jquery.digilib.geometry.js @ 788:ddb28f6b066a jquery
make plugins available to other plugins
author | hertzhaft |
---|---|
date | Thu, 17 Feb 2011 22:50:32 +0100 |
parents | 868c2e795aca |
children | 63c1b33e38b1 |
comparison
equal
deleted
inserted
replaced
787:b322f553f92e | 788:ddb28f6b066a |
---|---|
479 return { | 479 return { |
480 size : size, | 480 size : size, |
481 position : position, | 481 position : position, |
482 rectangle : rectangle, | 482 rectangle : rectangle, |
483 transform : transform | 483 transform : transform |
484 }; | 484 }; |
485 }; | 485 }; |
486 if ($.fn.digilib == null) { | 486 if ($.fn.digilib == null) { |
487 $.error("jquery.digilib.geometry must be loaded after jquery.digilib!"); | 487 $.error("jquery.digilib.geometry must be loaded after jquery.digilib!"); |
488 } else { | 488 } else { |
489 $.fn.digilib('plugin', {name : 'geometry', init : init}); | 489 $.fn.digilib('plugin', {name : 'geometry', init : init}); |