Skip to content

Instantly share code, notes, and snippets.

View runningskull's full-sized avatar

Juan Patten runningskull

View GitHub Profile
(defn resolve-val [ratom path & [look-type depth]]
(let [depth (or depth 0)
path (kw->path path)]
(if (> depth *max-pointer-depth*)
(throw (js/Error. (str "Can't resolve value: max pointer depth (" *max-pointer-depth* ") reached at " path)))
(let [look-at (condp = look-type
:deref deref
:peek peek-at
(defun cider-figwheel-repl ()
(interactive)
(cider-interactive-eval
"(use 'figwheel-sidecar.repl-api)
(cljs-repl)"))

Hi Wade,

What you suggested with the custom even should work just fine. Our widget won't load until that <script> tag is inserted into the page. I actually made a small typo in the last message: it should be launch.js and not load.js

Based on what you posted, here's a snippet that will work fine:


Somewhere in your HTML:

testing

test
window.g = _g.bind(null, 'g')
function _g(memo, al) {
return al ? memo + 'al!'
: _g.bind(null, memo + 'o')
}
var connect = require('connect')
, exec = require('child_process').execFile
var app = connect()
.use(connect.json())
.use(function(req, res) {
if (!!~ req.body.ref.indexOf('gh-pages'))
return res.end("OK");
console.log("DEPLOYING...")

font-family: "proxima-nova", Helvetica Neue, Helvetica, sans-serif;

Weights

  • semibold: 600
  • regular: 400
  • light: 300