This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#computer is a windows laptop using an Intel i7-4720HQ (8 threads) with 16384MB DDR3 on Windows 10 install on a SATA SSD | |
-startup | |
#this is going to need to be changed based on your configuration | |
plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar | |
--launcher.library | |
#this is going to need to be changed based on your configuration | |
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.551.v20171108-1834 | |
-product | |
com.springsource.sts.ide |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
data (optional) - a JSON string to send with the request | |
*/ | |
function ajax(method, url, handler, data) { | |
var xhr = new XMLHttpRequest(); | |
xhr.onreadystatechange = function(){ | |
if (this.readyState === 4) { | |
if (this.status === 200) { | |
handler(null, JSON.parse(this.responseText)); |