Mercurial > repos > tabletprog
view testscripttags.html @ 196:228df5004ab5
Define methods in an object before running populate symbols on those methods to avoid a bug in which self was not properly marked as closed over due to a method not being defined when a symbol search was done
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 27 Aug 2013 21:38:09 -0700 |
parents | 02b20292f187 |
children |
line wrap: on
line source
<!DOCTYPE html> <html> <head> <title>Parser Test</title> <script src="peg.js"></script> <script src="mquery.js"></script> <script src="parser.js"></script> <script src="compiler.js"></script> <script src="jsbackend.js"></script> <script src="scripttags.js"></script> <script src="samples/fib.tp" type="text/tabletprog"></script> <script type="text/tabletprog"> #{ console <- foreign: #{ log <- foreign: :val {} } main <- { console log: "foobar" } } </script> </head> <body> Testing 1 2 3 </body> </html>