orator 3.0.11 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/debug/Harness.js CHANGED
@@ -12,15 +12,11 @@ let _Fable = new libFable({
12
12
  // Uncomment the following line to test the restify server plug-in
13
13
  // > make sure to run "npm i orator-serviceserver-restify" from the parent directory first so the package is available
14
14
  // > please don't --save it!
15
- const libOratorServiceServerRestify = require('orator-serviceserver-restify');
15
+ // _Fable.serviceManager.instantiateServiceProvider('OratorServiceServer', require('orator-serviceserver-restify'));
16
+ //const libOratorServiceServerRestify = require('orator-serviceserver-restify');
17
+
18
+ _Fable.serviceManager.addAndInitializeServiceType('Orator', libOrator);
16
19
 
17
- const tmpServiceServer = new libOrator(
18
- _Fable
19
- // Uncomment the next line to enable restify!
20
- ,libOratorServiceServerRestify
21
- );
22
- // Initialize the service server
23
- tmpServiceServer.initializeServiceServer();
24
20
  // Start the service
25
21
  tmpServiceServer.startService();
26
22