UNPKG
jester
Version:
latest (0.2.3)
0.2.3
0.2.2
0.2.1
0.2.0
0.1.2
0.1.1
0.1.0
0.0.1
0.0.0
Simple language designed for teaching
jaz303/jester
jester
/
icebox
/
dom-pretty-printer.js
18 lines
(13 loc)
•
302 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
;(
function
(
simple,
global
) {
var
domPrettyPrinter = simple.
analysis
.
reducer
({
setup
:
function
(
) {
this
.
source
=
''
;
this
.
indent
=
0
; },
reduce
:
function
(
) {
return
this
.
source
; },
"enter-def"
:
function
(
node
) { } }); })(simple,
this
);