MXS-1300: Make the MaxCtrl core a Node.js module
The core is now a module that is loaded by the command line client. This allows the core library to be reused for testing.
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
var maxctrl = require('./core.js')
|
||||
var maxctrl = require('maxctrl-core')
|
||||
|
||||
// Mangle the arguments if we are being called from the command line
|
||||
if (process.argv[0] == process.execPath) {
|
||||
|
Reference in New Issue
Block a user