Created
January 10, 2014 23:07
-
-
Save aymanosman/8364430 to your computer and use it in GitHub Desktop.
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
(ns example.core) | |
(def com (js.require "serialport")) ;; Using a dot instead of a / works incidentally | |
(def device-wrong3 (new com.SerialPort "COM1")) | |
;; // Compiled by ClojureScript 0.0-2080 | |
;; goog.provide('example.core'); | |
;; goog.require('cljs.core'); | |
;; example.core.com = require("serialport"); | |
;; example.core.device_wrong3 = (new com.SerialPort("COM1")); | |
;; // Compiled by ClojureScript 0.0-2127 | |
;; goog.provide('example.core'); | |
;; goog.require('cljs.core'); | |
;; example.core.com = require("serialport"); | |
;; example.core.device_wrong3 = (new example.core.com.SerialPort("COM1")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment