Refine media state machine methods.

* state( id ) becomes setState( id )
* get( id ) becomes state( id )
* state() stays the same
* previous() becomes lastState()

Props koopersmith
fixes #22652


git-svn-id: http://core.svn.wordpress.org/trunk@22952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ryan Boren
2012-11-30 15:19:11 +00:00
parent b73c43e0e2
commit f07c7f5163
7 changed files with 46 additions and 43 deletions

View File

@@ -40,7 +40,7 @@
});
});
frame.state('library');
frame.setState('library');
});
});
}(jQuery));