src/LiveDevelopment/LiveDevMultiBrowser.js
function init(config) {
        exports.config = config;
        MainViewManager
            .on("currentFileChange", _onFileChange);
        DocumentManager
            .on("documentSaved", _onDocumentSaved)
            .on("dirtyFlagChange", _onDirtyFlagChange);
        ProjectManager
            .on("beforeProjectClose beforeAppClose", close);

        // Default transport for live connection messages - can be changed
        setTransport(NodeSocketTransport);

        // Default launcher for preview browser - can be changed
        setLauncher(DefaultLauncher);

        // Initialize exports.status
        _setStatus(STATUS_INACTIVE);
    }
function init(config) {
        exports.config = config;
        MainViewManager
            .on("currentFileChange", _onFileChange);
        DocumentManager
            .on("documentSaved", _onDocumentSaved)
            .on("dirtyFlagChange", _onDirtyFlagChange);
        ProjectManager
            .on("beforeProjectClose beforeAppClose", close);

        // Default transport for live connection messages - can be changed
        setTransport(NodeSocketTransport);

        // Default launcher for preview browser - can be changed
        setLauncher(DefaultLauncher);

        // Initialize exports.status
        _setStatus(STATUS_INACTIVE);
    }
function init ( config ) { exports . config = config ; MainViewManager . on ( "currentFileChange" , _onFileChange ) ; DocumentManager . on ( "documentSaved" , _onDocumentSaved ) . on ( "dirtyFlagChange" , _onDirtyFlagChange ) ; ProjectManager . on ( "beforeProjectClose beforeAppClose" , close ) ; // Default transport for live connection messages - can be changed setTransport ( NodeSocketTransport ) ; // Default launcher for preview browser - can be changed setLauncher ( DefaultLauncher ) ; // Initialize exports.status _setStatus ( STATUS_INACTIVE ) ; }
Initialize the LiveDevelopment module.
Initialize the LiveDevelopment module .