UI.prototype._cellChanged = function()

in web/src/ui.js [84:96]


    UI.prototype._cellChanged = function() {
        if (!this._hasEmptyCell()) {
            this._runNetwork();
        } else {
            this._predictions.setEnabled(false);
        }

        for (var i = 0; i < this._cells.length; ++i) {
            this._cells[i].enableInteraction();
        }
        this._clearAllButton.textContent = 'Erase All';
        this._clearButton.textContent = 'Erase';
    };