Make WordPress Core

Changeset 31491


Ignore:
Timestamp:
02/22/2015 06:55:25 AM (10 years ago)
Author:
wonderboymusic
Message:

Specify globals in media JS files - it is important to denote where we are diverging from dependency injection.

See #28510.

Location:
trunk/src/wp-includes/js/media
Files:
72 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/media/audio-video.js

    r31490 r31491  
    11(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
     2/*globals wp, _ */
     3
    24var media = wp.media,
    35    baseSettings = window._wpmejsSettings || {},
     
    217219
    218220},{"./controllers/audio-details.js":2,"./controllers/video-details.js":8,"./models/post-media.js":9,"./views/audio-details.js":21,"./views/frame/audio-details.js":25,"./views/frame/media-details.js":26,"./views/frame/video-details.js":28,"./views/media-details.js":31,"./views/video-details.js":50}],2:[function(require,module,exports){
     221/*globals wp */
     222
    219223/**
     224 * wp.media.controller.AudioDetails
     225 *
    220226 * The controller for the Audio Details state
    221227 *
     
    248254
    249255},{"./state.js":7}],3:[function(require,module,exports){
     256/*globals wp, _, Backbone */
     257
    250258/**
    251259 * wp.media.controller.Library
     
    522530
    523531},{"../utils/selection-sync.js":10,"./state.js":7}],4:[function(require,module,exports){
     532/*globals wp, _ */
     533
    524534/**
    525535 * wp.media.controller.MediaLibrary
     
    572582
    573583},{"./library.js":3}],5:[function(require,module,exports){
     584/*globals Backbone, _ */
     585
    574586/**
    575587 * wp.media.controller.Region
     
    751763
    752764},{}],6:[function(require,module,exports){
     765/*globals _, Backbone */
     766
    753767/**
    754768 * wp.media.controller.StateMachine
     
    875889
    876890},{}],7:[function(require,module,exports){
     891/*globals _, Backbone */
     892
    877893/**
    878894 * wp.media.controller.State
     
    11161132
    11171133},{}],8:[function(require,module,exports){
     1134/*globals wp */
     1135
    11181136/**
     1137 * wp.media.controller.VideoDetails
     1138 *
    11191139 * The controller for the Video Details state
    11201140 *
     
    11471167
    11481168},{"./state.js":7}],9:[function(require,module,exports){
     1169/*globals wp, Backbone, _ */
     1170
    11491171/**
     1172 * wp.media.model.PostMedia
     1173 *
    11501174 * Shared model class for audio and video. Updates the model after
    11511175 *   "Add Audio|Video Source" and "Replace Audio|Video" states return
     
    11871211
    11881212},{}],10:[function(require,module,exports){
     1213/*globals _ */
     1214
    11891215/**
    11901216 * wp.media.selectionSync
     
    12531279
    12541280},{}],11:[function(require,module,exports){
     1281/*globals _ */
     1282
    12551283/**
    12561284 * wp.media.view.AttachmentCompat
     
    13381366
    13391367},{"./view.js":51}],12:[function(require,module,exports){
     1368/*globals _ */
     1369
    13401370/**
    13411371 * wp.media.view.AttachmentFilters
     
    15071537
    15081538},{"../attachment-filters.js":12}],14:[function(require,module,exports){
     1539/*globals wp, _ */
     1540
    15091541/**
    15101542 * A filter dropdown for month/dates.
     
    16091641
    16101642},{"../attachment-filters.js":12}],16:[function(require,module,exports){
     1643/*globals wp, _, jQuery */
     1644
    16111645/**
    16121646 * wp.media.view.Attachment
     
    21632197
    21642198},{"./view.js":51}],17:[function(require,module,exports){
     2199/*globals wp, _ */
     2200
    21652201/**
    21662202 * wp.media.view.Attachment.Details
     
    23242360
    23252361},{"../attachment.js":16}],19:[function(require,module,exports){
     2362/*globals wp, _ */
     2363
    23262364/**
    23272365 * wp.media.view.Attachments
     
    26242662
    26252663},{"./attachment.js":16,"./view.js":51}],20:[function(require,module,exports){
     2664/*globals wp, _, jQuery */
     2665
    26262666/**
    26272667 * wp.media.view.AttachmentsBrowser
     
    30833123
    30843124},{"../attachment-compat.js":11,"../attachment-filters/all.js":13,"../attachment-filters/date.js":14,"../attachment-filters/uploaded.js":15,"../attachment/details.js":17,"../attachment/library.js":18,"../attachments.js":19,"../label.js":30,"../search.js":39,"../settings/attachment-display.js":41,"../sidebar.js":42,"../spinner.js":43,"../toolbar.js":44,"../uploader/inline.js":46,"../uploader/status.js":48,"../view.js":51}],21:[function(require,module,exports){
     3125/*globals wp */
     3126
    30853127/**
    30863128 * wp.media.view.AudioDetails
     
    31213163
    31223164},{"./media-details":31}],22:[function(require,module,exports){
     3165/*globals _, Backbone */
     3166
    31233167/**
    31243168 * wp.media.view.Button
     
    32593303
    32603304},{"./view.js":51}],24:[function(require,module,exports){
     3305/*globals _, Backbone */
     3306
    32613307/**
    32623308 * wp.media.view.Frame
     
    34313477
    34323478},{"../controllers/region.js":5,"../controllers/state-machine.js":6,"../controllers/state.js":7,"./view.js":51}],25:[function(require,module,exports){
     3479/*globals wp */
     3480
    34333481/**
    34343482 * wp.media.view.MediaFrame.AudioDetails
     
    35083556
    35093557},{"../../controllers/audio-details.js":2,"../../controllers/media-library.js":4,"../audio-details.js":21,"./media-details":26}],26:[function(require,module,exports){
     3558/*globals wp */
     3559
    35103560/**
    35113561 * wp.media.view.MediaFrame.MediaDetails
     
    36403690
    36413691},{"../toolbar.js":44,"../view.js":51,"./select.js":27}],27:[function(require,module,exports){
     3692/*globals wp, _ */
     3693
    36423694/**
    36433695 * wp.media.view.MediaFrame.Select
     
    38143866
    38153867},{"../../controllers/library.js":3,"../attachments/browser.js":20,"../media-frame.js":32,"../toolbar/select.js":45,"../uploader/inline.js":46}],28:[function(require,module,exports){
     3868/*globals wp, _ */
     3869
    38163870/**
    38173871 * wp.media.view.MediaFrame.VideoDetails
     
    40054059
    40064060},{"./view.js":51}],31:[function(require,module,exports){
    4007 /*global wp, MediaElementPlayer */
     4061/*global wp, jQuery, _, MediaElementPlayer */
    40084062
    40094063/**
     
    41734227
    41744228},{"./settings/attachment-display.js":41}],32:[function(require,module,exports){
     4229/*globals wp, _, jQuery */
     4230
    41754231/**
    41764232 * wp.media.view.MediaFrame
     
    46174673
    46184674},{"./menu-item.js":33,"./priority-list.js":36}],35:[function(require,module,exports){
     4675/*globals wp, _ */
     4676
    46194677/**
    46204678 * wp.media.view.Modal
     
    48324890
    48334891},{"./focus-manager.js":23,"./view.js":51}],36:[function(require,module,exports){
     4892/*globals _, Backbone */
     4893
    48344894/**
    48354895 * wp.media.view.PriorityList
     
    50465106
    50475107},{"./view.js":51}],40:[function(require,module,exports){
     5108/*globals _, jQuery, Backbone */
     5109
    50485110/**
    50495111 * wp.media.view.Settings
     
    51675229
    51685230},{"./view.js":51}],41:[function(require,module,exports){
     5231/*globals wp, _ */
     5232
    51695233/**
    51705234 * wp.media.view.Settings.AttachmentDisplay
     
    52805344
    52815345},{"./priority-list.js":36}],43:[function(require,module,exports){
     5346/*globals _ */
     5347
    52825348/**
    52835349 * wp.media.view.Spinner
     
    53185384
    53195385},{"./view.js":51}],44:[function(require,module,exports){
     5386/*globals _, Backbone */
     5387
    53205388/**
    53215389 * wp.media.view.Toolbar
     
    54805548
    54815549},{"./button.js":22,"./priority-list.js":36,"./view.js":51}],45:[function(require,module,exports){
     5550/*globals wp, _ */
     5551
    54825552/**
    54835553 * wp.media.view.Toolbar.Select
     
    55505620
    55515621},{"../toolbar.js":44}],46:[function(require,module,exports){
     5622/*globals wp, _ */
     5623
    55525624/**
    55535625 * wp.media.view.UploaderInline
     
    57015773
    57025774},{"../view.js":51}],48:[function(require,module,exports){
     5775/*globals wp, _ */
     5776
    57035777/**
    57045778 * wp.media.view.UploaderStatus
     
    58405914
    58415915},{"../view.js":51,"./status-error.js":47}],49:[function(require,module,exports){
     5916/*globals wp, _, jQuery */
     5917
    58425918/**
    58435919 * wp.media.view.UploaderWindow
     
    59526028
    59536029},{"../view.js":51}],50:[function(require,module,exports){
     6030/*globals wp */
     6031
    59546032/**
    59556033 * wp.media.view.VideoDetails
     
    59956073
    59966074},{"./media-details":31}],51:[function(require,module,exports){
     6075/*globals wp */
     6076
    59976077/**
    59986078 * wp.media.View
  • trunk/src/wp-includes/js/media/audio-video.manifest.js

    r31399 r31491  
     1/*globals wp, _ */
     2
    13var media = wp.media,
    24    baseSettings = window._wpmejsSettings || {},
  • trunk/src/wp-includes/js/media/controllers/audio-details.js

    r31490 r31491  
     1/*globals wp */
     2
    13/**
     4 * wp.media.controller.AudioDetails
     5 *
    26 * The controller for the Audio Details state
    37 *
  • trunk/src/wp-includes/js/media/controllers/collection-add.js

    r31385 r31491  
     1/*globals wp, _ */
     2
    13/**
    24 * wp.media.controller.CollectionAdd
  • trunk/src/wp-includes/js/media/controllers/collection-edit.js

    r31385 r31491  
     1/*globals wp, Backbone */
     2
    13/**
    24 * wp.media.controller.CollectionEdit
  • trunk/src/wp-includes/js/media/controllers/cropper.js

    r31385 r31491  
     1/*globals wp, _, Backbone */
     2
    13/**
    24 * wp.media.controller.Cropper
  • trunk/src/wp-includes/js/media/controllers/embed.js

    r31385 r31491  
     1/*globals wp, _, Backbone, jQuery */
     2
    13/**
    24 * wp.media.controller.Embed
  • trunk/src/wp-includes/js/media/controllers/featured-image.js

    r31385 r31491  
     1/*globals wp, _ */
     2
    13/**
    24 * wp.media.controller.FeaturedImage
  • trunk/src/wp-includes/js/media/controllers/gallery-add.js

    r31385 r31491  
     1/*globals wp, _ */
     2
    13/**
    24 * A state for selecting more images to add to a gallery.
  • trunk/src/wp-includes/js/media/controllers/image-details.js

    r31385 r31491  
     1/*globals wp, _ */
     2
    13/**
    24 * wp.media.controller.ImageDetails
  • trunk/src/wp-includes/js/media/controllers/library.js

    r31385 r31491  
     1/*globals wp, _, Backbone */
     2
    13/**
    24 * wp.media.controller.Library
  • trunk/src/wp-includes/js/media/controllers/media-library.js

    r31385 r31491  
     1/*globals wp, _ */
     2
    13/**
    24 * wp.media.controller.MediaLibrary
  • trunk/src/wp-includes/js/media/controllers/region.js

    r31385 r31491  
     1/*globals Backbone, _ */
     2
    13/**
    24 * wp.media.controller.Region
  • trunk/src/wp-includes/js/media/controllers/replace-image.js

    r31385 r31491  
     1/*globals wp, _ */
     2
    13/**
    24 * wp.media.controller.ReplaceImage
  • trunk/src/wp-includes/js/media/controllers/state-machine.js

    r31385 r31491  
     1/*globals _, Backbone */
     2
    13/**
    24 * wp.media.controller.StateMachine
  • trunk/src/wp-includes/js/media/controllers/state.js

    r31385 r31491  
     1/*globals _, Backbone */
     2
    13/**
    24 * wp.media.controller.State
  • trunk/src/wp-includes/js/media/controllers/video-details.js

    r31490 r31491  
     1/*globals wp */
     2
    13/**
     4 * wp.media.controller.VideoDetails
     5 *
    26 * The controller for the Video Details state
    37 *
  • trunk/src/wp-includes/js/media/grid.js

    r31490 r31491  
    107107
    108108},{"../views/toolbar.js":44,"./state.js":6}],3:[function(require,module,exports){
     109/*globals wp, _, Backbone */
     110
    109111/**
    110112 * wp.media.controller.Library
     
    381383
    382384},{"../utils/selection-sync.js":9,"./state.js":6}],4:[function(require,module,exports){
     385/*globals Backbone, _ */
     386
    383387/**
    384388 * wp.media.controller.Region
     
    560564
    561565},{}],5:[function(require,module,exports){
     566/*globals _, Backbone */
     567
    562568/**
    563569 * wp.media.controller.StateMachine
     
    684690
    685691},{}],6:[function(require,module,exports){
     692/*globals _, Backbone */
     693
    686694/**
    687695 * wp.media.controller.State
     
    938946
    939947},{"./controllers/edit-attachment-metadata.js":1,"./routers/manage.js":8,"./views/attachment/details-two-column.js":16,"./views/button/delete-selected-permanently.js":22,"./views/button/delete-selected.js":23,"./views/button/select-mode-toggle.js":24,"./views/edit-image-details.js":25,"./views/frame/edit-attachments.js":28,"./views/frame/manage.js":29}],8:[function(require,module,exports){
     948/*globals wp, Backbone */
     949
    940950/**
    941951 * A router for handling the browser history and application state.
     
    984994
    985995},{}],9:[function(require,module,exports){
     996/*globals _ */
     997
    986998/**
    987999 * wp.media.selectionSync
     
    10501062
    10511063},{}],10:[function(require,module,exports){
     1064/*globals _ */
     1065
    10521066/**
    10531067 * wp.media.view.AttachmentCompat
     
    11351149
    11361150},{"./view.js":49}],11:[function(require,module,exports){
     1151/*globals _ */
     1152
    11371153/**
    11381154 * wp.media.view.AttachmentFilters
     
    13041320
    13051321},{"../attachment-filters.js":11}],13:[function(require,module,exports){
     1322/*globals wp, _ */
     1323
    13061324/**
    13071325 * A filter dropdown for month/dates.
     
    14061424
    14071425},{"../attachment-filters.js":11}],15:[function(require,module,exports){
     1426/*globals wp, _, jQuery */
     1427
    14081428/**
    14091429 * wp.media.view.Attachment
     
    20032023
    20042024},{"./details.js":17}],17:[function(require,module,exports){
     2025/*globals wp, _ */
     2026
    20052027/**
    20062028 * wp.media.view.Attachment.Details
     
    21642186
    21652187},{"../attachment.js":15}],19:[function(require,module,exports){
     2188/*globals wp, _ */
     2189
    21662190/**
    21672191 * wp.media.view.Attachments
     
    24642488
    24652489},{"./attachment.js":15,"./view.js":49}],20:[function(require,module,exports){
     2490/*globals wp, _, jQuery */
     2491
    24662492/**
    24672493 * wp.media.view.AttachmentsBrowser
     
    29232949
    29242950},{"../attachment-compat.js":10,"../attachment-filters/all.js":12,"../attachment-filters/date.js":13,"../attachment-filters/uploaded.js":14,"../attachment/details.js":17,"../attachment/library.js":18,"../attachments.js":19,"../label.js":31,"../search.js":39,"../settings/attachment-display.js":41,"../sidebar.js":42,"../spinner.js":43,"../toolbar.js":44,"../uploader/inline.js":45,"../uploader/status.js":47,"../view.js":49}],21:[function(require,module,exports){
     2951/*globals _, Backbone */
     2952
    29252953/**
    29262954 * wp.media.view.Button
     
    31633191
    31643192},{"../button.js":21}],25:[function(require,module,exports){
    3165 /*globals wp */
     3193/*globals wp, _ */
    31663194
    31673195var View = require( './view.js' ),
     
    32403268
    32413269},{"./view.js":49}],27:[function(require,module,exports){
     3270/*globals _, Backbone */
     3271
    32423272/**
    32433273 * wp.media.view.Frame
     
    34123442
    34133443},{"../controllers/region.js":4,"../controllers/state-machine.js":5,"../controllers/state.js":6,"./view.js":49}],28:[function(require,module,exports){
     3444/*globals wp, _ */
     3445
    34143446/**
    34153447 * A frame for editing the details of a specific media item.
     
    36583690
    36593691},{"../../controllers/edit-attachment-metadata.js":1,"../../controllers/edit-image.js":2,"../attachment-compat.js":10,"../attachment/details-two-column.js":16,"../edit-image-details.js":25,"../frame.js":27,"../media-frame.js":32,"../modal.js":35}],29:[function(require,module,exports){
     3692/*globals wp, _, jQuery, Backbone */
     3693
    36603694/**
    36613695 * wp.media.view.MediaFrame.Manage
     
    39593993
    39603994},{"./view.js":49}],32:[function(require,module,exports){
     3995/*globals wp, _, jQuery */
     3996
    39613997/**
    39623998 * wp.media.view.MediaFrame
     
    44034439
    44044440},{"./menu-item.js":33,"./priority-list.js":36}],35:[function(require,module,exports){
     4441/*globals wp, _ */
     4442
    44054443/**
    44064444 * wp.media.view.Modal
     
    46184656
    46194657},{"./focus-manager.js":26,"./view.js":49}],36:[function(require,module,exports){
     4658/*globals _, Backbone */
     4659
    46204660/**
    46214661 * wp.media.view.PriorityList
     
    48324872
    48334873},{"./view.js":49}],40:[function(require,module,exports){
     4874/*globals _, jQuery, Backbone */
     4875
    48344876/**
    48354877 * wp.media.view.Settings
     
    49534995
    49544996},{"./view.js":49}],41:[function(require,module,exports){
     4997/*globals wp, _ */
     4998
    49554999/**
    49565000 * wp.media.view.Settings.AttachmentDisplay
     
    50665110
    50675111},{"./priority-list.js":36}],43:[function(require,module,exports){
     5112/*globals _ */
     5113
    50685114/**
    50695115 * wp.media.view.Spinner
     
    51045150
    51055151},{"./view.js":49}],44:[function(require,module,exports){
     5152/*globals _, Backbone */
     5153
    51065154/**
    51075155 * wp.media.view.Toolbar
     
    52665314
    52675315},{"./button.js":21,"./priority-list.js":36,"./view.js":49}],45:[function(require,module,exports){
     5316/*globals wp, _ */
     5317
    52685318/**
    52695319 * wp.media.view.UploaderInline
     
    54175467
    54185468},{"../view.js":49}],47:[function(require,module,exports){
     5469/*globals wp, _ */
     5470
    54195471/**
    54205472 * wp.media.view.UploaderStatus
     
    55565608
    55575609},{"../view.js":49,"./status-error.js":46}],48:[function(require,module,exports){
     5610/*globals wp, _, jQuery */
     5611
    55585612/**
    55595613 * wp.media.view.UploaderWindow
     
    56685722
    56695723},{"../view.js":49}],49:[function(require,module,exports){
     5724/*globals wp */
     5725
    56705726/**
    56715727 * wp.media.View
  • trunk/src/wp-includes/js/media/models.js

    r31406 r31491  
    11(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
     2/*globals wp, _, jQuery */
     3
    24var $ = jQuery,
    35    Attachment, Attachments, l10n, media;
     
    231233
    232234},{"./models/attachment.js":2,"./models/attachments.js":3,"./models/post-image.js":4,"./models/query.js":5,"./models/selection.js":6}],2:[function(require,module,exports){
     235/*globals wp, _, jQuery, Backbone */
     236
    233237/**
    234238 * wp.media.model.Attachment
     
    399403
    400404},{"./attachments.js":3}],3:[function(require,module,exports){
     405/*globals wp, _, Backbone */
     406
    401407/**
    402408 * wp.media.model.Attachments
     
    935941
    936942},{"./attachment.js":2,"./query.js":5}],4:[function(require,module,exports){
     943/*globals Backbone */
     944
    937945/**
    938946 * wp.media.model.PostImage
     
    10911099
    10921100},{"./attachment":2}],5:[function(require,module,exports){
     1101/*globals wp, _ */
     1102
    10931103/**
    10941104 * wp.media.model.Query
     
    13991409
    14001410},{"./attachments.js":3}],6:[function(require,module,exports){
     1411/*globals _ */
     1412
    14011413/**
    14021414 * wp.media.model.Selection
  • trunk/src/wp-includes/js/media/models.manifest.js

    r31385 r31491  
     1/*globals wp, _, jQuery */
     2
    13var $ = jQuery,
    24    Attachment, Attachments, l10n, media;
  • trunk/src/wp-includes/js/media/models/attachment.js

    r31385 r31491  
     1/*globals wp, _, jQuery, Backbone */
     2
    13/**
    24 * wp.media.model.Attachment
  • trunk/src/wp-includes/js/media/models/attachments.js

    r31385 r31491  
     1/*globals wp, _, Backbone */
     2
    13/**
    24 * wp.media.model.Attachments
  • trunk/src/wp-includes/js/media/models/post-image.js

    r31385 r31491  
     1/*globals Backbone */
     2
    13/**
    24 * wp.media.model.PostImage
  • trunk/src/wp-includes/js/media/models/post-media.js

    r31490 r31491  
     1/*globals wp, Backbone, _ */
     2
    13/**
     4 * wp.media.model.PostMedia
     5 *
    26 * Shared model class for audio and video. Updates the model after
    37 *   "Add Audio|Video Source" and "Replace Audio|Video" states return
  • trunk/src/wp-includes/js/media/models/query.js

    r31406 r31491  
     1/*globals wp, _ */
     2
    13/**
    24 * wp.media.model.Query
  • trunk/src/wp-includes/js/media/models/selection.js

    r31385 r31491  
     1/*globals _ */
     2
    13/**
    24 * wp.media.model.Selection
  • trunk/src/wp-includes/js/media/routers/manage.js

    r31490 r31491  
     1/*globals wp, Backbone */
     2
    13/**
    24 * A router for handling the browser history and application state.
  • trunk/src/wp-includes/js/media/utils/selection-sync.js

    r31385 r31491  
     1/*globals _ */
     2
    13/**
    24 * wp.media.selectionSync
  • trunk/src/wp-includes/js/media/views.js

    r31489 r31491  
    11(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
     2/*globals wp, _ */
     3
    24/**
    35 * wp.media.controller.CollectionAdd
     
    101103
    102104},{"./library.js":10}],2:[function(require,module,exports){
     105/*globals wp, Backbone */
     106
    103107/**
    104108 * wp.media.controller.CollectionEdit
     
    263267
    264268},{"../views/attachment/edit-library.js":25,"../views/view.js":71,"./library.js":10}],3:[function(require,module,exports){
     269/*globals wp, _, Backbone */
     270
    265271/**
    266272 * wp.media.controller.Cropper
     
    460466
    461467},{"../views/toolbar.js":63,"./state.js":15}],5:[function(require,module,exports){
     468/*globals wp, _, Backbone, jQuery */
     469
    462470/**
    463471 * wp.media.controller.Embed
     
    597605
    598606},{"./state.js":15}],6:[function(require,module,exports){
     607/*globals wp, _ */
     608
    599609/**
    600610 * wp.media.controller.FeaturedImage
     
    719729
    720730},{"./library.js":10}],7:[function(require,module,exports){
     731/*globals wp, _ */
     732
    721733/**
    722734 * A state for selecting more images to add to a gallery.
     
    950962
    951963},{"../views/attachment/edit-library.js":25,"../views/settings/gallery.js":59,"./library.js":10}],9:[function(require,module,exports){
     964/*globals wp, _ */
     965
    952966/**
    953967 * wp.media.controller.ImageDetails
     
    10121026
    10131027},{"./library.js":10,"./state.js":15}],10:[function(require,module,exports){
     1028/*globals wp, _, Backbone */
     1029
    10141030/**
    10151031 * wp.media.controller.Library
     
    12861302
    12871303},{"../utils/selection-sync.js":16,"./state.js":15}],11:[function(require,module,exports){
     1304/*globals wp, _ */
     1305
    12881306/**
    12891307 * wp.media.controller.MediaLibrary
     
    13361354
    13371355},{"./library.js":10}],12:[function(require,module,exports){
     1356/*globals Backbone, _ */
     1357
    13381358/**
    13391359 * wp.media.controller.Region
     
    15151535
    15161536},{}],13:[function(require,module,exports){
     1537/*globals wp, _ */
     1538
    15171539/**
    15181540 * wp.media.controller.ReplaceImage
     
    16231645
    16241646},{"./library.js":10}],14:[function(require,module,exports){
     1647/*globals _, Backbone */
     1648
    16251649/**
    16261650 * wp.media.controller.StateMachine
     
    17471771
    17481772},{}],15:[function(require,module,exports){
     1773/*globals _, Backbone */
     1774
    17491775/**
    17501776 * wp.media.controller.State
     
    19882014
    19892015},{}],16:[function(require,module,exports){
     2016/*globals _ */
     2017
    19902018/**
    19912019 * wp.media.selectionSync
     
    20542082
    20552083},{}],17:[function(require,module,exports){
     2084/*globals wp, jQuery, _, Backbone */
     2085
    20562086var media = wp.media,
    20572087    $ = jQuery,
     
    22012231
    22022232},{"./controllers/collection-add.js":1,"./controllers/collection-edit.js":2,"./controllers/cropper.js":3,"./controllers/edit-image.js":4,"./controllers/embed.js":5,"./controllers/featured-image.js":6,"./controllers/gallery-add.js":7,"./controllers/gallery-edit.js":8,"./controllers/image-details.js":9,"./controllers/library.js":10,"./controllers/media-library.js":11,"./controllers/region.js":12,"./controllers/replace-image.js":13,"./controllers/state-machine.js":14,"./controllers/state.js":15,"./utils/selection-sync.js":16,"./views/attachment-compat.js":18,"./views/attachment-filters.js":19,"./views/attachment-filters/all.js":20,"./views/attachment-filters/date.js":21,"./views/attachment-filters/uploaded.js":22,"./views/attachment.js":23,"./views/attachment/details.js":24,"./views/attachment/edit-library.js":25,"./views/attachment/edit-selection.js":26,"./views/attachment/library.js":27,"./views/attachment/selection.js":28,"./views/attachments.js":29,"./views/attachments/browser.js":30,"./views/attachments/selection.js":31,"./views/button-group.js":32,"./views/button.js":33,"./views/cropper.js":34,"./views/edit-image.js":35,"./views/embed.js":36,"./views/embed/image.js":37,"./views/embed/link.js":38,"./views/embed/url.js":39,"./views/focus-manager.js":40,"./views/frame/image-details.js":42,"./views/frame/post.js":43,"./views/frame/select.js":44,"./views/iframe.js":45,"./views/image-details.js":46,"./views/label.js":47,"./views/media-frame.js":48,"./views/menu-item.js":49,"./views/menu.js":50,"./views/modal.js":51,"./views/priority-list.js":52,"./views/router-item.js":53,"./views/router.js":54,"./views/search.js":55,"./views/selection.js":56,"./views/settings.js":57,"./views/settings/attachment-display.js":58,"./views/settings/gallery.js":59,"./views/settings/playlist.js":60,"./views/sidebar.js":61,"./views/spinner.js":62,"./views/toolbar.js":63,"./views/toolbar/embed.js":64,"./views/toolbar/select.js":65,"./views/uploader/editor.js":66,"./views/uploader/inline.js":67,"./views/uploader/status-error.js":68,"./views/uploader/status.js":69,"./views/uploader/window.js":70,"./views/view.js":71}],18:[function(require,module,exports){
     2233/*globals _ */
     2234
    22032235/**
    22042236 * wp.media.view.AttachmentCompat
     
    22862318
    22872319},{"./view.js":71}],19:[function(require,module,exports){
     2320/*globals _ */
     2321
    22882322/**
    22892323 * wp.media.view.AttachmentFilters
     
    24552489
    24562490},{"../attachment-filters.js":19}],21:[function(require,module,exports){
     2491/*globals wp, _ */
     2492
    24572493/**
    24582494 * A filter dropdown for month/dates.
     
    25572593
    25582594},{"../attachment-filters.js":19}],23:[function(require,module,exports){
     2595/*globals wp, _, jQuery */
     2596
    25592597/**
    25602598 * wp.media.view.Attachment
     
    31113149
    31123150},{"./view.js":71}],24:[function(require,module,exports){
     3151/*globals wp, _ */
     3152
    31133153/**
    31143154 * wp.media.view.Attachment.Details
     
    33403380
    33413381},{"../attachment.js":23}],29:[function(require,module,exports){
     3382/*globals wp, _ */
     3383
    33423384/**
    33433385 * wp.media.view.Attachments
     
    36403682
    36413683},{"./attachment.js":23,"./view.js":71}],30:[function(require,module,exports){
     3684/*globals wp, _, jQuery */
     3685
    36423686/**
    36433687 * wp.media.view.AttachmentsBrowser
     
    40994143
    41004144},{"../attachment-compat.js":18,"../attachment-filters/all.js":20,"../attachment-filters/date.js":21,"../attachment-filters/uploaded.js":22,"../attachment/details.js":24,"../attachment/library.js":27,"../attachments.js":29,"../label.js":47,"../search.js":55,"../settings/attachment-display.js":58,"../sidebar.js":61,"../spinner.js":62,"../toolbar.js":63,"../uploader/inline.js":67,"../uploader/status.js":69,"../view.js":71}],31:[function(require,module,exports){
     4145/*globals _ */
     4146
    41014147/**
    41024148 * wp.media.view.Attachments.Selection
     
    41304176
    41314177},{"../attachment/selection.js":28,"../attachments.js":29}],32:[function(require,module,exports){
     4178/*globals _, Backbone */
     4179
    41324180/**
    41334181 * wp.media.view.ButtonGroup
     
    41784226
    41794227},{"./button.js":33,"./view.js":71}],33:[function(require,module,exports){
     4228/*globals _, Backbone */
     4229
    41804230/**
    41814231 * wp.media.view.Button
     
    42674317
    42684318},{"./view.js":71}],34:[function(require,module,exports){
     4319/*globals wp, _, jQuery */
     4320
    42694321/**
    42704322 * wp.media.view.Cropper
     
    43354387
    43364388},{"./uploader/status-error.js":68,"./uploader/status.js":69,"./view.js":71}],35:[function(require,module,exports){
     4389/*globals wp, _ */
     4390
    43374391var View = require( './view.js' ),
    43384392    EditImage;
     
    44864540
    44874541},{"../settings/attachment-display.js":58}],38:[function(require,module,exports){
     4542/*globals wp, _ */
     4543
    44884544/**
    44894545 * wp.media.view.EmbedLink
     
    45534609
    45544610},{"../settings.js":57}],39:[function(require,module,exports){
     4611/*globals wp, _ */
     4612
    45554613/**
    45564614 * wp.media.view.EmbedUrl
     
    46814739
    46824740},{"./view.js":71}],41:[function(require,module,exports){
     4741/*globals _, Backbone */
     4742
    46834743/**
    46844744 * wp.media.view.Frame
     
    50365096
    50375097},{"../../controllers/edit-image.js":4,"../../controllers/image-details.js":9,"../../controllers/replace-image.js":13,"../edit-image.js":35,"../image-details.js":46,"../toolbar.js":63,"./select.js":44}],43:[function(require,module,exports){
     5098/*globals wp, _ */
     5099
    50385100/**
    50395101 * wp.media.view.MediaFrame.Post
     
    57875849
    57885850},{"../../controllers/collection-add.js":1,"../../controllers/collection-edit.js":2,"../../controllers/edit-image.js":4,"../../controllers/embed.js":5,"../../controllers/featured-image.js":6,"../../controllers/gallery-add.js":7,"../../controllers/gallery-edit.js":8,"../../controllers/library.js":10,"../attachment/edit-selection.js":26,"../attachments/browser.js":30,"../edit-image.js":35,"../embed.js":36,"../selection.js":56,"../settings/playlist.js":60,"../toolbar.js":63,"../toolbar/embed.js":64,"../view.js":71,"./select.js":44}],44:[function(require,module,exports){
     5851/*globals wp, _ */
     5852
    57895853/**
    57905854 * wp.media.view.MediaFrame.Select
     
    59886052
    59896053},{"./view.js":71}],46:[function(require,module,exports){
     6054/*globals wp, _ */
     6055
    59906056/**
    59916057 * wp.media.view.ImageDetails
     
    61836249
    61846250},{"./view.js":71}],48:[function(require,module,exports){
     6251/*globals wp, _, jQuery */
     6252
    61856253/**
    61866254 * wp.media.view.MediaFrame
     
    66276695
    66286696},{"./menu-item.js":49,"./priority-list.js":52}],51:[function(require,module,exports){
     6697/*globals wp, _ */
     6698
    66296699/**
    66306700 * wp.media.view.Modal
     
    68426912
    68436913},{"./focus-manager.js":40,"./view.js":71}],52:[function(require,module,exports){
     6914/*globals _, Backbone */
     6915
    68446916/**
    68456917 * wp.media.view.PriorityList
     
    70567128
    70577129},{"./view.js":71}],56:[function(require,module,exports){
     7130/*globals wp, _, Backbone */
     7131
    70587132/**
    70597133 * wp.media.view.Selection
     
    71417215
    71427216},{"./attachments/selection.js":31,"./view.js":71}],57:[function(require,module,exports){
     7217/*globals _, jQuery, Backbone */
     7218
    71437219/**
    71447220 * wp.media.view.Settings
     
    72627338
    72637339},{"./view.js":71}],58:[function(require,module,exports){
     7340/*globals wp, _ */
     7341
    72647342/**
    72657343 * wp.media.view.Settings.AttachmentDisplay
     
    74157493
    74167494},{"./priority-list.js":52}],62:[function(require,module,exports){
     7495/*globals _ */
     7496
    74177497/**
    74187498 * wp.media.view.Spinner
     
    74537533
    74547534},{"./view.js":71}],63:[function(require,module,exports){
     7535/*globals _, Backbone */
     7536
    74557537/**
    74567538 * wp.media.view.Toolbar
     
    76157697
    76167698},{"./button.js":33,"./priority-list.js":52,"./view.js":71}],64:[function(require,module,exports){
     7699/*globals wp, _ */
     7700
    76177701/**
    76187702 * wp.media.view.Toolbar.Embed
     
    76527736
    76537737},{"./select.js":65}],65:[function(require,module,exports){
     7738/*globals wp, _ */
     7739
    76547740/**
    76557741 * wp.media.view.Toolbar.Select
     
    77227808
    77237809},{"../toolbar.js":63}],66:[function(require,module,exports){
     7810/*globals wp, _, jQuery */
     7811
    77247812/**
    77257813 * Creates a dropzone on WP editor instances (elements with .wp-editor-wrap
     
    79418029
    79428030},{"../view.js":71}],67:[function(require,module,exports){
     8031/*globals wp, _ */
     8032
    79438033/**
    79448034 * wp.media.view.UploaderInline
     
    80928182
    80938183},{"../view.js":71}],69:[function(require,module,exports){
     8184/*globals wp, _ */
     8185
    80948186/**
    80958187 * wp.media.view.UploaderStatus
     
    82318323
    82328324},{"../view.js":71,"./status-error.js":68}],70:[function(require,module,exports){
     8325/*globals wp, _, jQuery */
     8326
    82338327/**
    82348328 * wp.media.view.UploaderWindow
     
    83438437
    83448438},{"../view.js":71}],71:[function(require,module,exports){
     8439/*globals wp */
     8440
    83458441/**
    83468442 * wp.media.View
  • trunk/src/wp-includes/js/media/views.manifest.js

    r31385 r31491  
     1/*globals wp, jQuery, _, Backbone */
     2
    13var media = wp.media,
    24    $ = jQuery,
  • trunk/src/wp-includes/js/media/views/attachment-compat.js

    r31385 r31491  
     1/*globals _ */
     2
    13/**
    24 * wp.media.view.AttachmentCompat
  • trunk/src/wp-includes/js/media/views/attachment-filters.js

    r31385 r31491  
     1/*globals _ */
     2
    13/**
    24 * wp.media.view.AttachmentFilters
  • trunk/src/wp-includes/js/media/views/attachment-filters/date.js

    r31385 r31491  
     1/*globals wp, _ */
     2
    13/**
    24 * A filter dropdown for month/dates.
  • trunk/src/wp-includes/js/media/views/attachment.js

    r31385 r31491  
     1/*globals wp, _, jQuery */
     2
    13/**
    24 * wp.media.view.Attachment
  • trunk/src/wp-includes/js/media/views/attachment/details.js

    r31385 r31491  
     1/*globals wp, _ */
     2
    13/**
    24 * wp.media.view.Attachment.Details
  • trunk/src/wp-includes/js/media/views/attachments.js

    r31385 r31491  
     1/*globals wp, _ */
     2
    13/**
    24 * wp.media.view.Attachments
  • trunk/src/wp-includes/js/media/views/attachments/browser.js

    r31385 r31491  
     1/*globals wp, _, jQuery */
     2
    13/**
    24 * wp.media.view.AttachmentsBrowser
  • trunk/src/wp-includes/js/media/views/attachments/selection.js

    r31385 r31491  
     1/*globals _ */
     2
    13/**
    24 * wp.media.view.Attachments.Selection
  • trunk/src/wp-includes/js/media/views/audio-details.js

    r31490 r31491  
     1/*globals wp */
     2
    13/**
    24 * wp.media.view.AudioDetails
  • trunk/src/wp-includes/js/media/views/button-group.js

    r31385 r31491  
     1/*globals _, Backbone */
     2
    13/**
    24 * wp.media.view.ButtonGroup
  • trunk/src/wp-includes/js/media/views/button.js

    r31385 r31491  
     1/*globals _, Backbone */
     2
    13/**
    24 * wp.media.view.Button
  • trunk/src/wp-includes/js/media/views/cropper.js

    r31385 r31491  
     1/*globals wp, _, jQuery */
     2
    13/**
    24 * wp.media.view.Cropper
  • trunk/src/wp-includes/js/media/views/edit-image-details.js

    r31489 r31491  
    1 /*globals wp */
     1/*globals wp, _ */
    22
    33var View = require( './view.js' ),
  • trunk/src/wp-includes/js/media/views/edit-image.js

    r31489 r31491  
     1/*globals wp, _ */
     2
    13var View = require( './view.js' ),
    24    EditImage;
  • trunk/src/wp-includes/js/media/views/embed/link.js

    r31385 r31491  
     1/*globals wp, _ */
     2
    13/**
    24 * wp.media.view.EmbedLink
  • trunk/src/wp-includes/js/media/views/embed/url.js

    r31385 r31491  
     1/*globals wp, _ */
     2
    13/**
    24 * wp.media.view.EmbedUrl
  • trunk/src/wp-includes/js/media/views/frame.js

    r31385 r31491  
     1/*globals _, Backbone */
     2
    13/**
    24 * wp.media.view.Frame
  • trunk/src/wp-includes/js/media/views/frame/audio-details.js

    r31490 r31491  
     1/*globals wp */
     2
    13/**
    24 * wp.media.view.MediaFrame.AudioDetails
  • trunk/src/wp-includes/js/media/views/frame/edit-attachments.js

    r31490 r31491  
     1/*globals wp, _ */
     2
    13/**
    24 * A frame for editing the details of a specific media item.
  • trunk/src/wp-includes/js/media/views/frame/manage.js

    r31490 r31491  
     1/*globals wp, _, jQuery, Backbone */
     2
    13/**
    24 * wp.media.view.MediaFrame.Manage
  • trunk/src/wp-includes/js/media/views/frame/media-details.js

    r31490 r31491  
     1/*globals wp */
     2
    13/**
    24 * wp.media.view.MediaFrame.MediaDetails
  • trunk/src/wp-includes/js/media/views/frame/post.js

    r31385 r31491  
     1/*globals wp, _ */
     2
    13/**
    24 * wp.media.view.MediaFrame.Post
  • trunk/src/wp-includes/js/media/views/frame/select.js

    r31385 r31491  
     1/*globals wp, _ */
     2
    13/**
    24 * wp.media.view.MediaFrame.Select
  • trunk/src/wp-includes/js/media/views/frame/video-details.js

    r31490 r31491  
     1/*globals wp, _ */
     2
    13/**
    24 * wp.media.view.MediaFrame.VideoDetails
  • trunk/src/wp-includes/js/media/views/image-details.js

    r31393 r31491  
     1/*globals wp, _ */
     2
    13/**
    24 * wp.media.view.ImageDetails
  • trunk/src/wp-includes/js/media/views/media-details.js

    r31490 r31491  
    1 /*global wp, MediaElementPlayer */
     1/*global wp, jQuery, _, MediaElementPlayer */
    22
    33/**
  • trunk/src/wp-includes/js/media/views/media-frame.js

    r31385 r31491  
     1/*globals wp, _, jQuery */
     2
    13/**
    24 * wp.media.view.MediaFrame
  • trunk/src/wp-includes/js/media/views/modal.js

    r31385 r31491  
     1/*globals wp, _ */
     2
    13/**
    24 * wp.media.view.Modal
  • trunk/src/wp-includes/js/media/views/priority-list.js

    r31385 r31491  
     1/*globals _, Backbone */
     2
    13/**
    24 * wp.media.view.PriorityList
  • trunk/src/wp-includes/js/media/views/selection.js

    r31385 r31491  
     1/*globals wp, _, Backbone */
     2
    13/**
    24 * wp.media.view.Selection
  • trunk/src/wp-includes/js/media/views/settings.js

    r31385 r31491  
     1/*globals _, jQuery, Backbone */
     2
    13/**
    24 * wp.media.view.Settings
  • trunk/src/wp-includes/js/media/views/settings/attachment-display.js

    r31385 r31491  
     1/*globals wp, _ */
     2
    13/**
    24 * wp.media.view.Settings.AttachmentDisplay
  • trunk/src/wp-includes/js/media/views/spinner.js

    r31385 r31491  
     1/*globals _ */
     2
    13/**
    24 * wp.media.view.Spinner
  • trunk/src/wp-includes/js/media/views/toolbar.js

    r31385 r31491  
     1/*globals _, Backbone */
     2
    13/**
    24 * wp.media.view.Toolbar
  • trunk/src/wp-includes/js/media/views/toolbar/embed.js

    r31385 r31491  
     1/*globals wp, _ */
     2
    13/**
    24 * wp.media.view.Toolbar.Embed
  • trunk/src/wp-includes/js/media/views/toolbar/select.js

    r31385 r31491  
     1/*globals wp, _ */
     2
    13/**
    24 * wp.media.view.Toolbar.Select
  • trunk/src/wp-includes/js/media/views/uploader/editor.js

    r31385 r31491  
     1/*globals wp, _, jQuery */
     2
    13/**
    24 * Creates a dropzone on WP editor instances (elements with .wp-editor-wrap
  • trunk/src/wp-includes/js/media/views/uploader/inline.js

    r31385 r31491  
     1/*globals wp, _ */
     2
    13/**
    24 * wp.media.view.UploaderInline
  • trunk/src/wp-includes/js/media/views/uploader/status.js

    r31385 r31491  
     1/*globals wp, _ */
     2
    13/**
    24 * wp.media.view.UploaderStatus
  • trunk/src/wp-includes/js/media/views/uploader/window.js

    r31385 r31491  
     1/*globals wp, _, jQuery */
     2
    13/**
    24 * wp.media.view.UploaderWindow
  • trunk/src/wp-includes/js/media/views/video-details.js

    r31490 r31491  
     1/*globals wp */
     2
    13/**
    24 * wp.media.view.VideoDetails
  • trunk/src/wp-includes/js/media/views/view.js

    r31385 r31491  
     1/*globals wp */
     2
    13/**
    24 * wp.media.View
Note: See TracChangeset for help on using the changeset viewer.