diff options
Diffstat (limited to 'ecomp-portal-BE/war/static/fusion/sample/js/eye.js')
-rw-r--r-- | ecomp-portal-BE/war/static/fusion/sample/js/eye.js | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/ecomp-portal-BE/war/static/fusion/sample/js/eye.js b/ecomp-portal-BE/war/static/fusion/sample/js/eye.js new file mode 100644 index 00000000..8a281dc3 --- /dev/null +++ b/ecomp-portal-BE/war/static/fusion/sample/js/eye.js @@ -0,0 +1,34 @@ +/** + * + * Zoomimage + * Author: Stefan Petre www.eyecon.ro + * + */ +(function($){ + var EYE = window.EYE = function() { + var _registered = { + init: [] + }; + return { + init: function() { + $.each(_registered.init, function(nr, fn){ + fn.call(); + }); + }, + extend: function(prop) { + for (var i in prop) { + if (prop[i] != undefined) { + this[i] = prop[i]; + } + } + }, + register: function(fn, type) { + if (!_registered[type]) { + _registered[type] = []; + } + _registered[type].push(fn); + } + }; + }(); + $(EYE.init); +})(jQuery); |