kopia lustrzana https://github.com/c9/core
Add doc comment and clean up dialog.upsell
rodzic
4deeeb0f33
commit
a7394f2d0d
|
@ -27,9 +27,7 @@ define(function(require, module, exports) {
|
|||
options = {isHTML: true};
|
||||
|
||||
return plugin.queue(function(){
|
||||
var all = options.all;
|
||||
var cancel = options.cancel;
|
||||
var showDontAsk = options.showDontAsk;
|
||||
var metadata = options.metadata;
|
||||
|
||||
title = title || "This is a Premium feature";
|
||||
|
@ -73,7 +71,12 @@ define(function(require, module, exports) {
|
|||
plugin.freezePublicAPI({
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {Function} onYes Callback for when user clicks the 'yes' button
|
||||
* @param {Function} onNo Callback for when the user clicks the 'no' button
|
||||
* @param {String} [title] Title for the dialog
|
||||
* @param {String} [header] Header for the dialog body
|
||||
* @param {String} [msg] Message to show the user.
|
||||
* @param {Object} [options] Miscellaneous options
|
||||
*/
|
||||
show: show
|
||||
});
|
||||
|
|
Ładowanie…
Reference in New Issue