Created
December 20, 2016 21:38
-
-
Save oakmac/fba1fa8cfb0ec07b55a4a1284761c2e6 to your computer and use it in GitHub Desktop.
ClojureScript Interop Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 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