Skip to content

Instantly share code, notes, and snippets.

@oakmac
Created December 20, 2016 21:38
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 oakmac/fba1fa8cfb0ec07b55a4a1284761c2e6 to your computer and use it in GitHub Desktop.
Save oakmac/fba1fa8cfb0ec07b55a4a1284761c2e6 to your computer and use it in GitHub Desktop.
ClojureScript Interop Example
;; var aphrodite = require('aphrodite');
(def js-aphrodite (js/require "aphrodite"))
;; aphrodite.StyleSheet.extend([foo, bar]);
(defn aphrodite-extend [args]
(apply (aget js-aphrodite "StyleSheet" "extend") args))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment