Sha256: 95453e322161ac2763e4273365bc23355eff609f3062c90645cd277b9469ae58
Contents?: true
Size: 397 Bytes
Versions: 44
Compression:
Stored size: 397 Bytes
Contents
function postInfo(path, data, cb) { var xmlHttp = new XMLHttpRequest(); if (xmlHttp.overrideMimeType) { xmlHttp.overrideMimeType("text/plain; charset=x-user-defined"); } xmlHttp.open('POST', path, !!cb); if (cb) { xmlHttp.onreadystatechange = function() { if (xmlHttp.readyState == 4) { cb.apply(this, arguments); } }; } xmlHttp.send(data); return xmlHttp; }
Version data entries
44 entries across 44 versions & 2 rubygems