test/module-systems/_fixtures/global-scope.html
raw| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <script src='../../../mustache.js'></script> |
| 5 | </head> |
| 6 | <body>Text content to be overwritten<body> |
| 7 | <script> |
| 8 | document.body.textContent = Mustache.render( |
| 9 | '{{title}} spends {{calc}}', |
| 10 | { |
| 11 | title: 'Joe', |
| 12 | calc: () => 2 + 4 |
| 13 | }); |
| 14 | </script> |
| 15 | </html> |