Commits

Sean Wilkinson committed 5d22f0d

Argh. This may be a dead-end for OAuth ...

Comments (0)

Files changed (2)

 #   Thanks for stopping by :-)
 #
 #                                                       ~~ (c) SRW, 06 Feb 2012
-#                                                   ~~ last updated 19 Apr 2013
+#                                                   ~~ last updated 24 Apr 2013
 
 PROJ_ROOT   :=  $(realpath $(dir $(firstword $(MAKEFILE_LIST))))
 
 
 browser-client:                                                             \
     $(addprefix $(BUILD_DIR)/browser-client/,                               \
+        ajax.html                                                           \
+        ajax.js                                                             \
         apple-touch-icon-57x57.png                                          \
         apple-touch-icon-72x72.png                                          \
         apple-touch-icon-114x114.png                                        \
         coffeescript.js                                                     \
         favicon.ico                                                         \
         fluidicon.png                                                       \
+        gft.html                                                            \
+        gft.js                                                              \
         giant-favicon.ico                                                   \
         homepage.js                                                         \
         html5shiv.js                                                        \
 $(CACHE_DIR):
 	@   $(call make-directory, $@)
 
-$(CACHE_DIR)/barebones.html:                                                \
-    $(SRC_DIR)/browser-client/barebones.html                                \
-    |   $(CACHE_DIR)
+$(CACHE_DIR)/ajax.js: $(SRC_DIR)/browser-client/ajax.js | $(CACHE_DIR)
 	@   $(call replace-url-macros, $<, $@)
 
 $(CACHE_DIR)/bootstrap.js: | $(CACHE_DIR)
 $(CACHE_DIR)/coffeescript.js: | $(CACHE_DIR)
 	@   $(call download-url, "http://goo.gl/2RqIb")
 
+$(CACHE_DIR)/gft.js: $(SRC_DIR)/browser-client/gft.js | $(CACHE_DIR)
+	@   $(call replace-url-macros, $<, $@)
+
 $(CACHE_DIR)/homepage.js:                                                   \
     $(CACHE_DIR)/jquery-191.js                                              \
     $(CACHE_DIR)/bootstrap.js                                               \
 $(CACHE_DIR)/ie.js: $(SRC_DIR)/browser-client/ie.js | $(CACHE_DIR)
 	@   $(call replace-url-macros, $<, $@)
 
-$(CACHE_DIR)/index.html: $(SRC_DIR)/browser-client/index.html | $(CACHE_DIR)
-	@   $(call replace-url-macros, $<, $@)
-
 $(CACHE_DIR)/jquery-172.js: | $(CACHE_DIR)
 	@   $(call download-url, "http://goo.gl/rvrUK")
 
     | $(CACHE_DIR)
 	@   $(call minify-css, $^, $@)
 
+$(CACHE_DIR)/%.html: $(SRC_DIR)/browser-client/%.html | $(CACHE_DIR)
+	@   $(call replace-url-macros, $<, $@)
+
 $(ICONS_DIR):
 	@   $(call make-directory, $@)
 

src/browser-client/qmachine.js

     create_iframe = function (url) {
      // This function needs documentation.
         var y = avar();
-        // ...
+        y.Q(function (evt) {
+         // This function needs documentation.
+            $('<iframe />', {
+                src: url
+            }).appendTo('body');
+            return evt.exit();
+        });
         return y;
     };
 
 
     jobs = function (box) {
      // This function retrieves a list of tasks that need to be executed.
-        var y = avar();
+        var y = avar({val: []});
         // ...
         return y;
     };