Skip to content

Commit

Permalink
Use Bracket event emitters.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaeljorhult committed May 3, 2015
1 parent d14f297 commit 9bef678
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main.js
Expand Up @@ -152,10 +152,8 @@ define( function( require ) {

// Register panel and setup event listeners.
AppInit.appReady( function() {
var $documentManager = $( DocumentManager );

// Process document when saved.
$documentManager.on( 'documentSaved.autoprefixer', function( event, document ) {
DocumentManager.on( 'documentSaved.autoprefixer', function( event, document ) {
// Bail if extension's not enabled.
if ( !preferences.get( 'enabled' ) ) {
return;
Expand Down

0 comments on commit 9bef678

Please sign in to comment.