Blame view

js/lib/JSBuilder/src/Parser/Statement/Else.js 265 Bytes
16035364   Benjamin Renard   First commit
1
2
3
4
5
6
7
8
9
10
Parser.Statement.Else = Ext.extend(Parser.Statement, {
    isEnd: function(line, stream) {
        if (this.parent.isEnd.apply(this.parent, arguments)) {
            stream.goBack(line.length + 1);
            return true;
        }

        return false;
    }
});