mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 10:17:27 +02:00
## Description Fix various typos in the source code. This includes user facing code, documentation, and source comments. This PR has not been tested. Closes #1605
11 lines
298 B
JavaScript
11 lines
298 B
JavaScript
.pragma library
|
|
|
|
/**
|
|
* Perform 'GET' request on url, and bind 'callback' to onreadystatechange (with XHR object as parameter).
|
|
*/
|
|
function get(url, callback) {
|
|
var xhr = new XMLHttpRequest();
|
|
xhr.onreadystatechange = function() { callback(xhr) }
|
|
xhr.open("GET", url)
|
|
xhr.send()
|
|
}
|