Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <!--
- WebEntry String(HttpQuery) hello = (HttpQuery query) ->
- {
- return "document.getElementById('#plthello').innerHTML = '" +
- query.asString().replace("'", "\\'") + "');";
- };
- -->
- <script type="application/x-experimental-mar" src="/plt-bin/main.mar"></script>
- <script type="application/javascript" src="/js/pltweb.js"></script>
- <script type="application/javascript">
- window.onload = function () {
- var plt = new Platinum;
- plt.loadAll(function (handle) {
- handle.exec("hello", "Hello World!");
- });
- };
- </script>
- </head>
- <body>
- <!-- "Hello World!" should appear: -->
- <p id="plthello"></p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement