Author: ygrego Date: 2015-06-16 15:35:00 +0000 (Tue, 16 Jun 2015) New Revision: 1730 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1730 Log: The objects created must be returned. Modified: oipf/emulator/js/services/OIPFServices.js Modified: oipf/emulator/js/services/OIPFServices.js =================================================================== --- oipf/emulator/js/services/OIPFServices.js 2015-06-16 15:28:55 UTC (rev 1729) +++ oipf/emulator/js/services/OIPFServices.js 2015-06-16 15:35:00 UTC (rev 1730) @@ -2,13 +2,16 @@ OIPFServices.factory("ChannelConfigService", function() { return oipfObjectFactory.createChannelConfig(); -}) -.factory("SearchManagerService", function() { - oipfObjectFactory.createSearchManagerObject(); -}) -.factory("ConfigurationService", function() { - oipfObjectFactory.createConfigurationObject(); -}) -.factory("RecordingSchedulerService", function() { - oipfObjectFactory.createRecordingSchedulerObject(); }); + +OIPFServices.factory("SearchManagerService", function() { + return oipfObjectFactory.createSearchManagerObject(); +}); + +OIPFServices.factory("ConfigurationService", function() { + return oipfObjectFactory.createConfigurationObject.bind(oipfObjectFactory); +}); + +OIPFServices.factory("RecordingSchedulerService", function() { + return oipfObjectFactory.createRecordingSchedulerObject(); +});