function _onDirtyFlagChange(event, doc) {
        if (doc && Inspector.connected() &&
                _server && agents.network && agents.network.wasURLRequested(_server.pathToUrl(doc.file.fullPath))) {
            // Set status to out of sync if dirty. Otherwise, set it to active status.
            _setStatus(_docIsOutOfSync(doc) ? STATUS_OUT_OF_SYNC : STATUS_ACTIVE);
        }
    }
function _onDirtyFlagChange(event, doc) {
        if (doc && Inspector.connected() &&
                _server && agents.network && agents.network.wasURLRequested(_server.pathToUrl(doc.file.fullPath))) {
            // Set status to out of sync if dirty. Otherwise, set it to active status.
            _setStatus(_docIsOutOfSync(doc) ? STATUS_OUT_OF_SYNC : STATUS_ACTIVE);
        }
    }
function _onDirtyFlagChange ( event , doc ) { if ( doc && Inspector . connected ( ) && _server && agents . network && agents . network . wasURLRequested ( _server . pathToUrl ( doc . file . fullPath ) ) ) { // Set status to out of sync if dirty. Otherwise, set it to active status. _setStatus ( _docIsOutOfSync ( doc ) ? STATUS_OUT_OF_SYNC : STATUS_ACTIVE ) ; } }
Triggered by a change in dirty flag from the DocumentManager
Triggered by a change in dirty flag from the DocumentManager
Called when the doc is dirty