CoreFiles by mySites.guru
iframe.js22 lines, 470 bytes, from wordpress-4.2-beta4.zip
Raw History Compare with 4.2-beta3
md5
4e07dcb541cab23d81946c5e16fa3025
sha1
7fb4db770c5489a247a034f5e705756e2cc5779a
sha256
33a3b9a40e41a584b29aef9fa1c8ab7951ff47bc352e6dd29f6f36888d1b4a38
/**
 * wp.media.view.Iframe
 *
 * @class
 * @augments wp.media.View
 * @augments wp.Backbone.View
 * @augments Backbone.View
 */
var Iframe = wp.media.View.extend({
	className: 'media-iframe',
	/**
	 * @returns {wp.media.view.Iframe} Returns itself to allow chaining
	 */
	render: function() {
		this.views.detach();
		this.$el.html( '<iframe src="' + this.controller.state().get('src') + '" />' );
		this.views.render();
		return this;
	}
});

module.exports = Iframe;

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