noc 0.6.0

Nereon NOC syntax checker and playground server
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$(function() {
    var timer;
    var noc;
    $("#noc-in").keyup("change", function() {
        clearTimeout(timer);
        timer = setTimeout(function() {
            var new_noc = $("#noc-in").val();
            if (new_noc != noc) {
                noc = new_noc;
                $.post("parse", noc, function(result) {
                    $("#noc-out").text(result);
                });
            }
        }, 1000);
    });
});