app/assets/javascripts/condo/broadcaster.js in condo-1.0.1 vs app/assets/javascripts/condo/broadcaster.js in condo-1.0.2
- old
+ new
@@ -24,15 +24,21 @@
factory();
}
}(function (undefined) {
'use strict';
+
+ //
+ //
+ //
+
+
angular.module('CondoBroadcaster', []).factory('Condo.Broadcast', ['$rootScope', function($rootScope) {
// eventBroadcaster is the object created by the factory method.
var eventBroadcaster = {};
// The message is a string or object to carry data with the event.
- eventBroadcaster.message = '';
+ eventBroadcaster.message = {};
// The event name is a string used to define event types.
eventBroadcaster.eventName = '';
// This method is called from within a controller to define an event and attach data to the eventBroadcaster object.