You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
604 B
35 lines
604 B
14 years ago
|
/**
|
||
|
*
|
||
|
* 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);
|