Skip to content

Instantly share code, notes, and snippets.

@jhickner
Created July 31, 2011 04:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhickner/1116419 to your computer and use it in GitHub Desktop.
Save jhickner/1116419 to your computer and use it in GitHub Desktop.
(ns test)
(defn ^:export encoding-example []
(str "Hello " (name :foo)))
; goog.provide('test');
; goog.require('cljs.core');
; test.encoding_example = (function encoding_example(){
; return cljs.core.str.call(null,"Hello ",cljs.core.name.call(null,"﷐'foo"));
; });
; goog.exportSymbol('test.encoding_example', test.encoding_example);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment