##// END OF EJS Templates
Working WAIT without busy-wait
Working WAIT without busy-wait

File last commit:

r29:f8046447 default
r29:f8046447 default
Show More
js-syms.lisp
39 lines | 789 B | text/x-common-lisp | CommonLispLexer
(in-package sugar-qsp.js)
;;; Contains symbols from standard JS library to avoid obfuscating
;;; and/or namespacing them
(cl:defmacro syms (cl:&rest syms)
`(cl:progn
,@(cl:loop :for sym :in syms
:collect `(cl:export ',sym))))
(syms
;; main
window
*object
now
onload
keys includes
has-own-property
;; api
document get-element-by-id
onclick onchange
atob btoa
alert prompt
set-timeout set-interval clear-interval
*promise *j-s-o-n
href parse
set-prototype-of
body append-child remove-child
add ; remove (is already in COMMON-LISP)
create-element set-attribute class-list
*file-reader read-as-text
style display src
;; lib
*number parse-int
to-upper-case concat
click target current-target files index-of result
decode-u-r-i-component splice
)