Make WordPress Core


Ignore:
Timestamp:
11/19/2012 12:36:47 AM (13 years ago)
Author:
koopersmith
Message:

Media: Add a base view class.

  • Centralizes view and subview management, unifying several disjointed constructs.
  • Utilizes the dispose functionality found in Backbone master, providing a standard method for memory management.

see #21390.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/media.php

    r22608 r22648  
    13921392function wp_print_media_templates( $attachment ) {
    13931393    ?>
     1394    <script type="text/html" id="tmpl-media-frame">
     1395        <div class="media-frame-menu"></div>
     1396        <div class="media-frame-content"></div>
     1397        <div class="media-frame-sidebar"></div>
     1398        <div class="media-frame-toolbar"></div>
     1399    </script>
     1400
    13941401    <script type="text/html" id="tmpl-media-modal">
    13951402        <div class="media-modal">
Note: See TracChangeset for help on using the changeset viewer.