diff options
Diffstat (limited to 'src/js/media/views/attachment.js')
-rw-r--r-- | src/js/media/views/attachment.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/js/media/views/attachment.js b/src/js/media/views/attachment.js index e7aae2f1a2..36ea814fe1 100644 --- a/src/js/media/views/attachment.js +++ b/src/js/media/views/attachment.js @@ -69,7 +69,7 @@ Attachment = View.extend(/** @lends wp.media.view.Attachment.prototype */{ this.listenTo( this.controller.states, 'attachment:compat:waiting attachment:compat:ready', this.updateSave ); }, /** - * @returns {wp.media.view.Attachment} Returns itself to allow chaining. + * @return {wp.media.view.Attachment} Returns itself to allow chaining. */ dispose: function() { var selection = this.options.selection; @@ -87,7 +87,7 @@ Attachment = View.extend(/** @lends wp.media.view.Attachment.prototype */{ return this; }, /** - * @returns {wp.media.view.Attachment} Returns itself to allow chaining. + * @return {wp.media.view.Attachment} Returns itself to allow chaining. */ render: function() { var options = _.defaults( this.model.toJSON(), { @@ -282,7 +282,7 @@ Attachment = View.extend(/** @lends wp.media.view.Attachment.prototype */{ this[ this.selected() ? 'select' : 'deselect' ](); }, /** - * @returns {unresolved|Boolean} + * @return {unresolved|Boolean} */ selected: function() { var selection = this.options.selection; @@ -350,7 +350,7 @@ Attachment = View.extend(/** @lends wp.media.view.Attachment.prototype */{ }, /** * @param {string} size - * @returns {Object} + * @return {Object} */ imageSize: function( size ) { var sizes = this.model.get('sizes'), matched = false; @@ -434,7 +434,7 @@ Attachment = View.extend(/** @lends wp.media.view.Attachment.prototype */{ }, /** * @param {string} status - * @returns {wp.media.view.Attachment} Returns itself to allow chaining. + * @return {wp.media.view.Attachment} Returns itself to allow chaining. */ updateSave: function( status ) { var save = this._save = this._save || { status: 'ready' }; @@ -529,7 +529,7 @@ _.each({ * * @param {Backbone.Model} model * @param {string} value - * @returns {wp.media.view.Attachment} Returns itself to allow chaining. + * @return {wp.media.view.Attachment} Returns itself to allow chaining. */ /** * @function _syncTitle @@ -538,7 +538,7 @@ _.each({ * * @param {Backbone.Model} model * @param {string} value - * @returns {wp.media.view.Attachment} Returns itself to allow chaining. + * @return {wp.media.view.Attachment} Returns itself to allow chaining. */ /** * @function _syncArtist @@ -547,7 +547,7 @@ _.each({ * * @param {Backbone.Model} model * @param {string} value - * @returns {wp.media.view.Attachment} Returns itself to allow chaining. + * @return {wp.media.view.Attachment} Returns itself to allow chaining. */ /** * @function _syncAlbum @@ -556,7 +556,7 @@ _.each({ * * @param {Backbone.Model} model * @param {string} value - * @returns {wp.media.view.Attachment} Returns itself to allow chaining. + * @return {wp.media.view.Attachment} Returns itself to allow chaining. */ Attachment.prototype[ method ] = function( model, value ) { var $setting = this.$('[data-setting="' + setting + '"]'); |