summaryrefslogtreecommitdiffstatshomepage
path: root/src/js/media/views/view.js
diff options
context:
space:
mode:
authorSergey Biryukov <sergeybiryukov@git.wordpress.org>2019-11-29 17:59:47 +0000
committerSergey Biryukov <sergeybiryukov@git.wordpress.org>2019-11-29 17:59:47 +0000
commita03bb5454673d62dae26f50cd13619e92b23c884 (patch)
treefaac09874cdb44e25548961f163c0f8a06dc9028 /src/js/media/views/view.js
parentea5bfe134f50b91680369f50b4d12d233b1f917c (diff)
downloadwordpress-a03bb5454673d62dae26f50cd13619e92b23c884.tar.gz
wordpress-a03bb5454673d62dae26f50cd13619e92b23c884.zip
Docs: Replace `@returns` tags in JS docs with `@return`.
Per the documentation standards, `@returns` is an unsupported synonym, `@return` should be used instead: https://make.wordpress.org/core/handbook/best-practices/inline-documentation-standards/javascript/ See #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@46800 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'src/js/media/views/view.js')
-rw-r--r--src/js/media/views/view.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/media/views/view.js b/src/js/media/views/view.js
index 9b1f938fca..19b16e5c8f 100644
--- a/src/js/media/views/view.js
+++ b/src/js/media/views/view.js
@@ -28,7 +28,7 @@ var View = wp.Backbone.View.extend(/** @lends wp.media.View.prototype */{
* before Backbone 0.9.8 came out. Figure out if Backbone core takes
* care of this in Backbone.View now.
*
- * @returns {wp.media.View} Returns itself to allow chaining.
+ * @return {wp.media.View} Returns itself to allow chaining.
*/
dispose: function() {
// Undelegating events, removing events from the model, and
@@ -52,7 +52,7 @@ var View = wp.Backbone.View.extend(/** @lends wp.media.View.prototype */{
return this;
},
/**
- * @returns {wp.media.View} Returns itself to allow chaining.
+ * @return {wp.media.View} Returns itself to allow chaining.
*/
remove: function() {
this.dispose();