mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
30 lines
679 B
Plaintext
30 lines
679 B
Plaintext
lasso-page dependencies=data.browserDependencies lasso=data.lasso
|
|
|
|
<!DOCTYPE html>
|
|
html lang="en"
|
|
head
|
|
meta charset="UTF-8"
|
|
title -- Marko Widgets Tests
|
|
lasso-head
|
|
body
|
|
|
|
div id="test"
|
|
div id="mocha"
|
|
div id="testsTarget"
|
|
|
|
app-foo
|
|
|
|
lasso-body
|
|
|
|
init-widgets immediate
|
|
|
|
script
|
|
---
|
|
// window.fooWidget should not exist yet, but's store that in a variable to verify
|
|
window.afterInitWidgetsFooWidget = window.fooWidget;
|
|
window.afterInitWidgetsBarWidget = window.barWidget;
|
|
---
|
|
|
|
lasso-slot name="mocha-run"
|
|
|
|
browser-refresh |