tools/pinus-admin-web/public/front/TextPrompt.js
function(text)
    {
        if (this._uncommittedIsTop) {
            this._data.pop();
            delete this._uncommittedIsTop;
        }

        this._historyOffset = 1;
        if (this._coalesceHistoryDupes && text === this._currentHistoryItem())
            return;
        this._data.push(text);
    }
function(text)
    {
        if (this._uncommittedIsTop) {
            this._data.pop();
            delete this._uncommittedIsTop;
        }

        this._historyOffset = 1;
        if (this._coalesceHistoryDupes && text === this._currentHistoryItem())
            return;
        this._data.push(text);
    }
function ( text ) { if ( this . _uncommittedIsTop ) { this . _data . pop ( ) ; delete this . _uncommittedIsTop ; } this . _historyOffset = 1 ; if ( this . _coalesceHistoryDupes && text === this . _currentHistoryItem ( ) ) return ; this . _data . push ( text ) ; }
Pushes a committed text into the history.
@param {string} text
Pushes a committed text into the history .