diff options
Diffstat (limited to 'apps/samples/miles/miles-disconnect.html')
-rw-r--r-- | apps/samples/miles/miles-disconnect.html | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/apps/samples/miles/miles-disconnect.html b/apps/samples/miles/miles-disconnect.html deleted file mode 100644 index 30f5b39..0000000 --- a/apps/samples/miles/miles-disconnect.html +++ /dev/null @@ -1,52 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html> -<head> - <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> - <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/dojo/1.8.3/dijit/themes/tundra/tundra.css"> - <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/dojo/1.8.3/dojox/layout/resources/FloatingPane.css"> - <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/dojo/1.8.3/dojox/layout/resources/ResizeHandle.css"> - - <style type="text/css"> - </style> - - <script type="text/javascript"> - // dojoConfig = { - // async : false, - // isDebug : true, - // debugAtAllCosts : true, - // } - </script> - - <script src="http://ajax.googleapis.com/ajax/libs/dojo/1.8.3/dojo/dojo.js"></script> - <script type="text/javascript" src="viewer.js"></script> - - <script type="text/javascript"> - require(["dojo/domReady!", "dojo"], function(dom, dojo) { - var jsonHere = { - "email": "someone@here.com", - "reflectorIP": "88.131.107.12", - "problemName": "Fancy problem" - } - var xhr = dojo.require("dojo/_base/xhr"); - xhr.post({ - // The URL to request - url: "http://localhost:8080/miles/disconnect", - handleAs:"json", - postData: dojo.toJson(jsonHere), - headers:{ - "X-Requested-With": null, - "Content-Type": "application/json", - }, - load: function(result) { - - } - }); - }); - </script> - </head> - <body class="tundra"> - <div style="width: 600px; height: 400px"> - <div id="scene1"></div> - </div> - </body> -</html> |