mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 00:32:42 +01:00
260eb5344b
Summary: Ref T4324. The server code is probably going to get a fair amount more complicated, so allow it to load Javelin classes in a mostly-reasonable way. This integration has a few warts, but should be good enough to let us manage complexity through the next iteration of the server. (Mostly I just want the concicse Javelin mechanism for defining new classes.) Version bump is just so I can figure stuff out if this creates any issues for users based on which version of things they're running. Test Plan: Started server, posted some messages through it. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T4324 Differential Revision: https://secure.phabricator.com/D8253
13 lines
403 B
JavaScript
13 lines
403 B
JavaScript
var javelin_root = '../../../../webroot/rsrc/externals/javelin/';
|
|
var JX = require(javelin_root + 'core/init_node.js').JX;
|
|
|
|
JX.require('core/util');
|
|
JX.require('core/install');
|
|
|
|
// NOTE: This is faking out a piece of code in JX.install which waits for
|
|
// Stratcom before running static initializers.
|
|
JX.Stratcom = {ready : true};
|
|
JX.require('core/Event');
|
|
JX.require('core/Stratcom');
|
|
|
|
exports.JX = JX;
|