wp/wp-includes/js/mediaelement/wp-playlist.js
changeset 9 177826044cd9
parent 7 cf61fcea0001
child 16 a86126ab1dd4
--- a/wp/wp-includes/js/mediaelement/wp-playlist.js	Mon Oct 14 18:06:33 2019 +0200
+++ b/wp/wp-includes/js/mediaelement/wp-playlist.js	Mon Oct 14 18:28:13 2019 +0200
@@ -6,7 +6,13 @@
 	/** @namespace wp */
 	window.wp = window.wp || {};
 
-	var WPPlaylistView = Backbone.View.extend({
+	var WPPlaylistView = Backbone.View.extend(/** @lends WPPlaylistView.prototype */{
+		/**
+		 * @constructs
+		 *
+		 * @param {Object} options          The options to create this playlist view with.
+		 * @param {Object} options.metadata The metadata
+		 */
 		initialize : function (options) {
 			this.index = 0;
 			this.settings = {};
@@ -62,9 +68,7 @@
 				this.settings.success = this.bindResetPlayer;
 			}
 
-			/**
-			 * This is also our bridge to the outside world
-			 */
+			// This is also our bridge to the outside world.
 			this.player = new MediaElementPlayer( this.playerNode.get(0), this.settings );
 		},