Skip to content

Commit

Permalink
use BrowserEvent
Browse files Browse the repository at this point in the history
event['event_'] would not work once optimized ('_event' name is not
preserved)
  • Loading branch information
vicb committed Sep 10, 2014
1 parent 1530636 commit 1209ab8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vgps3/plugins/doarama/doarama.js
Expand Up @@ -226,11 +226,11 @@ vgps3.doarama.Doarama.prototype.syncTimerHandler_ = function(event) {
/**
* Synchronize the graph with the DoArama time
*
* @param {goog.events.Event} event
* @param {goog.events.BrowserEvent} event
* @private
*/
vgps3.doarama.Doarama.prototype.messageHandler_ = function(event) {
var data = event['event_']['data'];
var data = event.getBrowserEvent()['data'];

switch (data['method']) {
case 'ready':
Expand Down

0 comments on commit 1209ab8

Please sign in to comment.