We shall pledge to run jshint
before committing.
Props nacin for the nudge. git-svn-id: https://develop.svn.wordpress.org/trunk@27435 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
745f24b2d4
commit
99e98b3e93
@ -457,12 +457,12 @@ window.wp = window.wp || {};
|
||||
* @constructor
|
||||
* @augments Backbone.Model
|
||||
**/
|
||||
PostAudio = media.model.PostAudio = Backbone.Model.extend({
|
||||
media.model.PostAudio = Backbone.Model.extend({
|
||||
initialize: function() {
|
||||
this.attachment = false;
|
||||
},
|
||||
|
||||
changeAttachment: function( attachment, props ) {
|
||||
changeAttachment: function( attachment ) {
|
||||
var self = this;
|
||||
|
||||
this.attachment = attachment;
|
||||
@ -486,12 +486,12 @@ window.wp = window.wp || {};
|
||||
* @constructor
|
||||
* @augments Backbone.Model
|
||||
**/
|
||||
PostVideo = media.model.PostVideo = Backbone.Model.extend({
|
||||
media.model.PostVideo = Backbone.Model.extend({
|
||||
initialize: function() {
|
||||
this.attachment = false;
|
||||
},
|
||||
|
||||
changeAttachment: function( attachment, props ) {
|
||||
changeAttachment: function( attachment ) {
|
||||
var self = this;
|
||||
|
||||
this.attachment = attachment;
|
||||
|
@ -1,4 +1,5 @@
|
||||
/* global _wpMediaViewsL10n, confirm, getUserSetting, setUserSetting */
|
||||
/* global _wpMediaViewsL10n, _wpmejsSettings, MediaElementPlayer,
|
||||
confirm, getUserSetting, setUserSetting */
|
||||
(function($, _){
|
||||
var media = wp.media, l10n;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user