Commits

Sean Wilkinson committed bbc3246

Added a minimal HTML example for use by the upcoming paper

Comments (0)

Files changed (2)

 #   Thanks for stopping by :-)
 #
 #                                                       ~~ (c) SRW, 06 Feb 2012
-#                                                   ~~ last updated 17 Jan 2013
+#                                                   ~~ last updated 21 Jan 2013
 
 PROJ_ROOT   :=  $(realpath $(dir $(firstword $(MAKEFILE_LIST))))
 
         homepage.js                                                         \
         html5shiv.js                                                        \
         index.html                                                          \
+        minimal.html                                                        \
         q.js                                                                \
         robots.txt                                                          \
         sitemap.xml                                                         \
 $(CACHE_DIR)/html5shiv.js: | $(CACHE_DIR)
 	@   $(call download-url, "http://goo.gl/4p5Is")
 
+$(CACHE_DIR)/minimal.html: $(SRC_DIR)/browser-client/minimal.html | $(CACHE_DIR)
+	@   $(call replace-url-macros, $<, $@)
+
 $(CACHE_DIR)/jquery-172.js: | $(CACHE_DIR)
 	@   $(call download-url, "http://goo.gl/rvrUK")
 

src/browser-client/minimal.html

+<!DOCTYPE html>
+<html>
+  <head>
+    <script src="QM_WWW_URL/q.js"></script>
+  </head>
+  <body>
+    <script>
+      QM.load_script("https://dl.dropbox.com/u/57930062/qmachine/cgr-demo.js");
+    </script>
+  </body>
+</html>