Sha256: 37d792b59e394a9aba1197551c4af317b3d2fbbdd10f1e2408f9d3775ebd09f8
Contents?: true
Size: 511 Bytes
Versions: 83
Compression:
Stored size: 511 Bytes
Contents
//Socket descriptor, each new socket should increment *before* using it var if_net_request_socket_index = 0 //A basic get request that supports callbacks if_net_req = function(verb, url, params, tp_base) { $.ajax({ url: url, method: verb, data: params, dataType: "json", success: function(data) { int_dispatch([3, "int_net_cb", tp_base, true, data]); }, error: function(xhr, textStatus, err) { int_dispatch([3, "int_net_cb", tp_base, false, textStatus]); } }) }
Version data entries
83 entries across 83 versions & 1 rubygems