CoreFiles by mySites.guru
label.js24 lines, 384 bytes, from wordpress-4.2-beta4.zip
Raw History Compare with 4.2-beta3
md5
281cea1d9b4a3200460f6eb9b433d28d
sha1
b8a3f6a60b86c71fcb533d8f607781f365185b55
sha256
0c626fa297557a947be00772781dbea9d9379024cd0f9f2a06864571ce0d2875
/**
 * wp.media.view.Label
 *
 * @class
 * @augments wp.media.View
 * @augments wp.Backbone.View
 * @augments Backbone.View
 */
var Label = wp.media.View.extend({
	tagName: 'label',
	className: 'screen-reader-text',

	initialize: function() {
		this.value = this.options.value;
	},

	render: function() {
		this.$el.html( this.value );

		return this;
	}
});

module.exports = Label;

No other release has this exact content. See every version of this file.