diff options
Diffstat (limited to 'dcae_dmaapbc_webapp/src/main/webapp/static/fusion/sample/js/eye.js')
-rw-r--r-- | dcae_dmaapbc_webapp/src/main/webapp/static/fusion/sample/js/eye.js | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dcae_dmaapbc_webapp/src/main/webapp/static/fusion/sample/js/eye.js b/dcae_dmaapbc_webapp/src/main/webapp/static/fusion/sample/js/eye.js new file mode 100644 index 0000000..8a281dc --- /dev/null +++ b/dcae_dmaapbc_webapp/src/main/webapp/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); |