
var template = {"url":"http://jsbin.com/icuma/2","html" : "<!DOCTYPE html>\n<html>\n<head>\n<meta charset=utf-8 \/>\n<title>JS Bin<\/title>\n<!--[if IE]>\n  <script src=\"http:\/\/html5shiv.googlecode.com\/svn\/trunk\/html5.js\"><\/script>\n<![endif]-->\n<style>\n  article, aside, figure, footer, header, hgroup, \n  menu, nav, section { display: block; }\n  body { background-color: #000; color: #fff; }\n<\/style>\n<\/head>\n<body>\n  <p id=\"result\"><\/p>\n<\/body>\n<\/html>","javascript":"    var Queue = function () {\n      if (!(this instanceof arguments.callee)) {\n          return new arguments.callee();\n      }\n      this._methods = [];\n      this._response = null;\n      this._flushed = false;\n    }\n\n    Queue.prototype = {\n      add: function(fn) {\n        (this._flushed) ?\n          fn(this._response) :\n          this._methods.push(fn);\n      },\n      flush: function(resp) {\n        (this._flushed) &amp;&amp; (return);\n        this._response = resp;\n        this._flushed = true;\n        while (this._methods[0]) {\n          this._methods.shift()(resp);\n        }\n      }\n    };\n"}
