aboutsummaryrefslogtreecommitdiffstats
path: root/vnfmarket/src/main/webapp/vnfmarket/node_modules/xmlhttprequest/example/demo.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/xmlhttprequest/example/demo.js')
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/node_modules/xmlhttprequest/example/demo.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/xmlhttprequest/example/demo.js b/vnfmarket/src/main/webapp/vnfmarket/node_modules/xmlhttprequest/example/demo.js
deleted file mode 100644
index 4f333de9..00000000
--- a/vnfmarket/src/main/webapp/vnfmarket/node_modules/xmlhttprequest/example/demo.js
+++ /dev/null
@@ -1,16 +0,0 @@
-var sys = require('util');
-var XMLHttpRequest = require("xmlhttprequest").XMLHttpRequest;
-
-var xhr = new XMLHttpRequest();
-
-xhr.onreadystatechange = function() {
- sys.puts("State: " + this.readyState);
-
- if (this.readyState == 4) {
- sys.puts("Complete.\nBody length: " + this.responseText.length);
- sys.puts("Body:\n" + this.responseText);
- }
-};
-
-xhr.open("GET", "http://driverdan.com");
-xhr.send();