This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define( | |
'Observer', | |
[ | |
'EventEmitter' | |
], | |
function(EventEmitter) { | |
'use strict'; | |
function copyValue(value) { | |
if (typeof value === 'object') { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define( | |
'EventEmitter', | |
function() { | |
'use strict'; | |
/** | |
* Parse event types into topic and filters. | |
*/ | |
function parseEvent(event) { | |
event = event.split('.'); |