what kind of code is that? what does the semikolon mean at the begining of this function?
;(function ( $, window, document, undefined )
what is the purpose to write function like that?
creatorHashChanged: function(event) {}
what does "extend" mean here ?
$.extend( {}, defaults, options );
The complete code:
;(function ( $, window, document, undefined ) {
function Plugin( options ) {
this.options = $.extend( {}, defaults, options );
this._defaults = defaults;
this._name = pluginName;
this._tour = defaults.tour;
if(this.options.delete) this.tourdate_delete(true);
else this.init();
}
Plugin.prototype = {
init: function() {
},
creatorHashChanged: function(event) {
},
exitCreator: function() {
},
})( jQuery, window, document );