* @param jQuery containerList
* @param jQuery badgeList
*/
-WCF.Action.Delete = function(className, containerList, badgeList) { this.init(className, containerList, badgeList); };
-WCF.Action.Delete.prototype = {
+WCF.Action.Delete = Class.extend({
/**
* Initializes 'delete'-Proxy.
*
}
}, this));
}
-};
+});
/**
* Basic implementation for AJAXProxy-based toggle actions.
* @param jQuery containerList
* @param string toggleButtonSelector
*/
-WCF.Action.Toggle = function(className, containerList, toggleButtonSelector) { this.init(className, containerList, toggleButtonSelector); };
-WCF.Action.Toggle.prototype = {
+WCF.Action.Toggle = Class.extend({
/**
* Initializes 'toggle'-Proxy
*
}
}, this));
}
-};
+});
/**
* Executes provided callback if scroll threshold is reached. Usuable to determine