mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-30 18:57:53 +02:00
Accessible from main menu Help > About Meshroom, or by pressing "F1". Provides info about Meshroom version + useful links and related Open Source Licenses. * load COPYING.md from Meshroom/AliceVision files (either provided with the standalone package or online) + translate them to HTML for display (added `markdown` package in requirements) * request.js: centralize function to open file urls * provide system info from MeshroomApp (exposed as contextProperty)
11 lines
297 B
JavaScript
11 lines
297 B
JavaScript
.pragma library
|
|
|
|
/**
|
|
* Perform 'GET' request on url, and bind 'callback' to onreadystatechange (with XHR objet as parameter).
|
|
*/
|
|
function get(url, callback) {
|
|
var xhr = new XMLHttpRequest();
|
|
xhr.onreadystatechange = function() { callback(xhr) }
|
|
xhr.open("GET", url)
|
|
xhr.send()
|
|
}
|