Corrections to JSDoc

This commit is contained in:
riking
2014-03-18 18:19:20 -07:00
parent 84e608079b
commit 593f5df503
12 changed files with 35 additions and 23 deletions
@@ -25,7 +25,7 @@ Discourse.AdminApiController = Ember.ArrayController.extend({
Creates an API key instance with internal user object
@method regenerateKey
@param {Discourse.ApiKey} the key to regenerate
@param {Discourse.ApiKey} key the key to regenerate
**/
regenerateKey: function(key) {
bootbox.confirm(I18n.t("admin.api.confirm_regen"), I18n.t("no_value"), I18n.t("yes_value"), function(result) {
@@ -39,7 +39,7 @@ Discourse.AdminApiController = Ember.ArrayController.extend({
Revokes an API key
@method revokeKey
@param {Discourse.ApiKey} the key to revoke
@param {Discourse.ApiKey} key the key to revoke
**/
revokeKey: function(key) {
var self = this;