From: David Vazquez Date: Tue, 18 Dec 2012 00:48:23 +0000 (+0000) Subject: Fix nil translation X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=6b2ca9e1d6ecd0607501c6cd1d2623f6fc144378;p=jscl.git Fix nil translation --- diff --git a/lispstrack.lisp b/lispstrack.lisp index 89d6c4c..f508f71 100644 --- a/lispstrack.lisp +++ b/lispstrack.lisp @@ -284,7 +284,7 @@ (defun literal->js (sexp) (cond - ((null sexp) "unspecified") + ((null sexp) "undefined") ((integerp sexp) (integer-to-string sexp)) ((stringp sexp) (concat "\"" sexp "\"")) ((symbolp sexp) (concat "{name: \"" (symbol-name sexp) "\"}"))