src/JSUtils/ScopeManager.js
function postMessage(msg) {
            addFilesPromise.done(function (ternModule) {
                // If an error came up during file handling, bail out now
                if (!_ternNodeDomain) {
                    return;
                }

                if (config.debug) {
                    console.debug("Sending message", msg);
                }
                _ternNodeDomain.exec("invokeTernCommand", msg);
            });
        }
function postMessage(msg) {
            addFilesPromise.done(function (ternModule) {
                // If an error came up during file handling, bail out now
                if (!_ternNodeDomain) {
                    return;
                }

                if (config.debug) {
                    console.debug("Sending message", msg);
                }
                _ternNodeDomain.exec("invokeTernCommand", msg);
            });
        }
function postMessage ( msg ) { addFilesPromise . done ( function ( ternModule ) { // If an error came up during file handling, bail out now if ( ! _ternNodeDomain ) { return ; } if ( config . debug ) { console . debug ( "Sending message" , msg ) ; } _ternNodeDomain . exec ( "invokeTernCommand" , msg ) ; } ) ; }
Send a message to the tern node domain - if the module is being initialized,
the message will not be posted until initialization is complete
Send a message to the tern node domain - if the module is being initialized the message will not be posted until initialization is complete