Added convenience packages that export JS and browser DOM symbols, to be used to...
[clinton/parenscript.git] / src / js-dom-symbol-exports.lisp
CommitLineData
7b65de0b
VS
1(in-package "COMMON-LISP")
2
3;; These are convenience packages that export JS and browser DOM
4;; symbols. If you :use the packages in a package FOO and then
5;; obfuscate FOO, it will prevent the JS symbols from getting
6;; mangled. As well, a package with symbols for the Prototype library
7;; is included.
8
9(defpackage "PS-JS-SYMBOLS"
10 (:export
11 #:.to-fixed
12 #:encode-u-r-i-component
13 #:.push
14 #:.size
15 #:*array
16 #:set-timeout
17 #:set-interval
18 ))
19
20(defpackage "PS-DOM-SYMBOLS"
21 (:export
22 #:inner-h-t-m-l
23 #:document
24 #:window
25 #:onload
26 #:scroll-left
27 #:offset-width
28 #:offset-height
29 #:client-x
30 #:client-y
31 #:style
32 #:top
33 #:width
34 #:left
35 #:display
36 #:onmousemove
37 #:.create-element
38 #:.set-attribute
39 #:.append-child
40 #:offset-height
41 #:offset-width
42 #:client-height
43 #:client-width
44 #:scroll-height
45 #:scroll-width
46 #:.insert-row
47 #:.insert-cell
48 #:value
49 #:elements
50 #:.get-elements-by-class-name
51 #:.get-element-by-id
52 ))
53
54(defpackage "PS-PROTOTYPE-LIB-SYMBOLS"
55 (:export
56 #:*event
57 #:.observe
58 #:*ajax
59 #:.*request
60 ))