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.


git-svn-id: https://develop.svn.wordpress.org/trunk@22648 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith
2012-11-19 00:36:47 +00:00
parent d25a4e9795
commit 101c5a5371
3 changed files with 190 additions and 55 deletions

View File

@@ -108,7 +108,7 @@
border: 0 solid #dfdfdf;
}
.media-frame > .media-toolbar {
.media-frame-toolbar > .media-toolbar {
top: auto;
left: 200px;
bottom: 0;
@@ -116,7 +116,7 @@
box-shadow: 0 -4px 4px -4px rgba( 0, 0, 0, 0.1 );
}
.media-frame.hide-toolbar > .media-toolbar {
.hide-toolbar .media-frame-toolbar > .media-toolbar {
bottom: -61px;
}