mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Switched from "-" to "--" in concise templates
This commit is contained in:
parent
b7b15e4eb1
commit
65b6ff8ef0
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
|
|||||||
@ -7,12 +7,12 @@ exports.check = function(marko, markoCompiler, expect, done) {
|
|||||||
|
|
||||||
// Make sure calling load with templatePath:String, templateSrc:String arguments works
|
// Make sure calling load with templatePath:String, templateSrc:String arguments works
|
||||||
templatePath = nodePath.join(__dirname, 'dummy.marko');
|
templatePath = nodePath.join(__dirname, 'dummy.marko');
|
||||||
template = marko.load(templatePath, '- Hello $!{data.name}!');
|
template = marko.load(templatePath, '-- Hello $!{data.name}!');
|
||||||
expect(template.renderSync({name: 'Frank'}).toString()).to.equal('Hello Frank!');
|
expect(template.renderSync({name: 'Frank'}).toString()).to.equal('Hello Frank!');
|
||||||
|
|
||||||
// Make sure calling load with templatePath:String, templateSrc:String, options:Object arguments works
|
// Make sure calling load with templatePath:String, templateSrc:String, options:Object arguments works
|
||||||
templatePath = nodePath.join(__dirname, 'dummy.marko');
|
templatePath = nodePath.join(__dirname, 'dummy.marko');
|
||||||
template = marko.load(templatePath, '- Hello $!{data.name}!', {});
|
template = marko.load(templatePath, '-- Hello $!{data.name}!', {});
|
||||||
expect(template.renderSync({name: 'Frank'}).toString()).to.equal('Hello Frank!');
|
expect(template.renderSync({name: 'Frank'}).toString()).to.equal('Hello Frank!');
|
||||||
|
|
||||||
// Make sure calling load with templatePath:String, options:Object arguments works
|
// Make sure calling load with templatePath:String, options:Object arguments works
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
- ${out.global.greeting} ${data.name}!
|
-- ${out.global.greeting} ${data.name}!
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
- ${out.global.foo}
|
-- ${out.global.foo}
|
||||||
@ -1 +1 @@
|
|||||||
- ${out.global.foo}
|
-- ${out.global.foo}
|
||||||
@ -1 +1 @@
|
|||||||
- ${out.global.greeting} ${data.name}!
|
-- ${out.global.greeting} ${data.name}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello!
|
-- Hello!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1,2 +1,2 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
<test-async/>
|
<test-async/>
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1,2 +1,2 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
<test-async/>
|
<test-async/>
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1,4 +1,4 @@
|
|||||||
- BEFORE
|
-- BEFORE
|
||||||
<async-fragment data-provider=data.userInfoShort
|
<async-fragment data-provider=data.userInfoShort
|
||||||
var="user"
|
var="user"
|
||||||
timeout=500
|
timeout=500
|
||||||
@ -33,4 +33,4 @@
|
|||||||
</async-fragment-timeout>
|
</async-fragment-timeout>
|
||||||
4
|
4
|
||||||
</async-fragment>
|
</async-fragment>
|
||||||
- AFTER
|
-- AFTER
|
||||||
@ -1,4 +1,4 @@
|
|||||||
- BEFORE
|
-- BEFORE
|
||||||
<await(user from data.userInfoShort)
|
<await(user from data.userInfoShort)
|
||||||
timeout=500
|
timeout=500
|
||||||
name="userInfo1">
|
name="userInfo1">
|
||||||
@ -29,4 +29,4 @@
|
|||||||
</await-timeout>
|
</await-timeout>
|
||||||
4
|
4
|
||||||
</await>
|
</await>
|
||||||
- AFTER
|
-- AFTER
|
||||||
@ -1 +1 @@
|
|||||||
test-addNestedVariable - Hello ${foo}!
|
test-addNestedVariable -- Hello ${foo}!
|
||||||
@ -1,2 +1,2 @@
|
|||||||
for(color in ['red', 'green', 'blue'] | array)
|
for(color in ['red', 'green', 'blue'] | array)
|
||||||
- ${color}
|
-- ${color}
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}! Hello $!{data.name}! Hello $!{data.missing}!
|
-- Hello ${data.name}! Hello $!{data.name}! Hello $!{data.missing}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello John
|
-- Hello John
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -2,8 +2,8 @@ module.exports = function() {
|
|||||||
var name = 'Frank';
|
var name = 'Frank';
|
||||||
var template = marko`
|
var template = marko`
|
||||||
div
|
div
|
||||||
- Hello ${name}!
|
-- Hello ${name}!
|
||||||
span - Test
|
span -- Test
|
||||||
`;
|
`;
|
||||||
|
|
||||||
return template.renderSync();
|
return template.renderSync();
|
||||||
|
|||||||
@ -5,7 +5,7 @@ var layout = marko`
|
|||||||
meta charset="UTF-8"
|
meta charset="UTF-8"
|
||||||
<title>${data.title}</title>
|
<title>${data.title}</title>
|
||||||
body
|
body
|
||||||
h1 - ${data.title}
|
h1 -- ${data.title}
|
||||||
div
|
div
|
||||||
layout-placeholder name="body"
|
layout-placeholder name="body"
|
||||||
`;
|
`;
|
||||||
@ -17,7 +17,7 @@ module.exports = function() {
|
|||||||
var template = marko`
|
var template = marko`
|
||||||
layout-use(layout) title=title
|
layout-use(layout) title=title
|
||||||
layout-put into="body"
|
layout-put into="body"
|
||||||
- Hello ${name}! This is the body content!
|
-- Hello ${name}! This is the body content!
|
||||||
`;
|
`;
|
||||||
|
|
||||||
return template.renderSync();
|
return template.renderSync();
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
div.bar - BAR
|
div.bar -- BAR
|
||||||
@ -1 +1 @@
|
|||||||
div.foo - FOO
|
div.foo -- FOO
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1,4 +1,4 @@
|
|||||||
<var foo=0/>
|
<var foo=0/>
|
||||||
<assign foo++/>
|
<assign foo++/>
|
||||||
|
|
||||||
- ${foo}
|
-- ${foo}
|
||||||
@ -1,4 +1,4 @@
|
|||||||
<var foo=5/>
|
<var foo=5/>
|
||||||
<assign --foo/>
|
<assign --foo/>
|
||||||
|
|
||||||
- ${foo}
|
-- ${foo}
|
||||||
@ -1,3 +1,3 @@
|
|||||||
div class="foo
|
div class="foo
|
||||||
bar"
|
bar"
|
||||||
span - Hello World
|
span -- Hello World
|
||||||
@ -1 +1 @@
|
|||||||
- [foo-template]
|
-- [foo-template]
|
||||||
@ -1 +1 @@
|
|||||||
- A ${'B'} C
|
-- A ${'B'} C
|
||||||
@ -1,2 +1,2 @@
|
|||||||
- test-circular-renderer-a
|
-- test-circular-renderer-a
|
||||||
<test-circular-renderer-b/>
|
<test-circular-renderer-b/>
|
||||||
@ -1,2 +1,2 @@
|
|||||||
- test-circular-template-a
|
-- test-circular-template-a
|
||||||
<test-circular-template-b/>
|
<test-circular-template-b/>
|
||||||
@ -1 +1 @@
|
|||||||
- test-circular-template-b<test-circular-template-a if(false)/>
|
-- test-circular-template-b<test-circular-template-a if(false)/>
|
||||||
@ -1,3 +1,3 @@
|
|||||||
<!--This comment should not be preserved-->
|
<!--This comment should not be preserved-->
|
||||||
- Hello World!
|
-- Hello World!
|
||||||
<!--This comment should not be preserved-->
|
<!--This comment should not be preserved-->
|
||||||
@ -1,4 +1,4 @@
|
|||||||
div - Hello ${data.name}
|
div -- Hello ${data.name}
|
||||||
<span if(data.name)>
|
<span if(data.name)>
|
||||||
${data.name}
|
${data.name}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
div - Hello ${data.name}
|
div -- Hello ${data.name}
|
||||||
span if(data.name)
|
span if(data.name)
|
||||||
${data.name}
|
${data.name}
|
||||||
p else - No name!
|
p else -- No name!
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
<div data-attr="Hello \"John\" <foo>">
|
<div data-attr="Hello \"John\" <foo>">
|
||||||
Hello <John>© <![CDATA[<hello>]]>
|
Hello <John>© <![CDATA[<hello>]]>
|
||||||
</div>
|
</div>
|
||||||
- ©
|
-- ©
|
||||||
@ -1 +1 @@
|
|||||||
- Global: ${out.global.foo}
|
-- Global: ${out.global.foo}
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}! Hello $!{data.name}! Hello $!{data.missing}!
|
-- Hello ${data.name}! Hello $!{data.name}! Hello $!{data.missing}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello John
|
-- Hello John
|
||||||
@ -1,2 +1,2 @@
|
|||||||
if(true)
|
if(true)
|
||||||
- A
|
-- A
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
if(false)
|
if(false)
|
||||||
- A
|
-- A
|
||||||
else
|
else
|
||||||
- B
|
-- B
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
if(false)
|
if(false)
|
||||||
- A
|
-- A
|
||||||
else if(true)
|
else if(true)
|
||||||
- B
|
-- B
|
||||||
@ -1,6 +1,6 @@
|
|||||||
if(false)
|
if(false)
|
||||||
- A
|
-- A
|
||||||
else if(false)
|
else if(false)
|
||||||
- B
|
-- B
|
||||||
else
|
else
|
||||||
- C
|
-- C
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
<import mod, { b as bar } from "./bar" />
|
<import mod, { b as bar } from "./bar" />
|
||||||
<import test from './bar' />
|
<import test from './bar' />
|
||||||
- ${mod.foo} ${bar} ${test.foo}
|
-- ${mod.foo} ${bar} ${test.foo}
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}! You have ${data.count} new messages.
|
-- Hello ${data.name}! You have ${data.count} new messages.
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}! You have ${data.count} new messages.
|
-- Hello ${data.name}! You have ${data.count} new messages.
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}! You have ${data.count} new messages.
|
-- Hello ${data.name}! You have ${data.count} new messages.
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.firstName} ${data.lastName}!
|
-- Hello ${data.firstName} ${data.lastName}!
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.firstName}! You have ${data.count} new messages.
|
-- Hello ${data.firstName}! You have ${data.count} new messages.
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${data.name}! You have ${data.count} new messages.
|
-- Hello ${data.name}! You have ${data.count} new messages.
|
||||||
@ -5,4 +5,4 @@
|
|||||||
</div>
|
</div>
|
||||||
div
|
div
|
||||||
// This comment should be preserved
|
// This comment should be preserved
|
||||||
- Hello World!
|
-- Hello World!
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
test-nested-tags-tabs
|
test-nested-tags-tabs
|
||||||
test-nested-tags-tabs:tab title="Tab 1"
|
test-nested-tags-tabs:tab title="Tab 1"
|
||||||
- Tab 1 content
|
-- Tab 1 content
|
||||||
test-nested-tags-tabs:tab title="Tab 2"
|
test-nested-tags-tabs:tab title="Tab 2"
|
||||||
test-nested-tags-tabs:tab title="Tab 3" - Tab 3 content
|
test-nested-tags-tabs:tab title="Tab 3" -- Tab 3 content
|
||||||
@ -1,3 +1,3 @@
|
|||||||
<my-custom-tag short="World"/>
|
<my-custom-tag short="World"/>
|
||||||
|
|
||||||
- Hello ${data.short}
|
-- Hello ${data.short}
|
||||||
@ -1,2 +1,2 @@
|
|||||||
div#foo-${data.name} style="color: red;"
|
div#foo-${data.name} style="color: red;"
|
||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1,2 +1,2 @@
|
|||||||
div#foo style="color: red;"
|
div#foo style="color: red;"
|
||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -1,2 +1,2 @@
|
|||||||
div.foo style="color: red;"
|
div.foo style="color: red;"
|
||||||
- Hello ${data.name}!
|
-- Hello ${data.name}!
|
||||||
@ -4,9 +4,9 @@ var currentPage='home'
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
html lang="en"
|
html lang="en"
|
||||||
head
|
head
|
||||||
title - ${pageTitle}
|
title -- ${pageTitle}
|
||||||
body
|
body
|
||||||
h1 - ${pageTitle}
|
h1 -- ${pageTitle}
|
||||||
|
|
||||||
p
|
p
|
||||||
---
|
---
|
||||||
@ -21,15 +21,15 @@ html lang="en"
|
|||||||
${feature}
|
${feature}
|
||||||
|
|
||||||
ul if(data.colors && data.colors.length)
|
ul if(data.colors && data.colors.length)
|
||||||
li for(color in data.colors) - ${color}
|
li for(color in data.colors) -- ${color}
|
||||||
div else
|
div else
|
||||||
- No colors!
|
-- No colors!
|
||||||
|
|
||||||
tabs
|
tabs
|
||||||
tabs:tab title="Tab 1"
|
tabs:tab title="Tab 1"
|
||||||
- Body content for Tab 1
|
-- Body content for Tab 1
|
||||||
tabs:tab title="Tab 2"
|
tabs:tab title="Tab 2"
|
||||||
- Body content for Tab 2
|
-- Body content for Tab 2
|
||||||
|
|
||||||
script type='text/javascript'
|
script type='text/javascript'
|
||||||
---
|
---
|
||||||
@ -40,7 +40,7 @@ html lang="en"
|
|||||||
|
|
||||||
macro navLink(id, href, title)
|
macro navLink(id, href, title)
|
||||||
li
|
li
|
||||||
a.nav-link class=(id === currentPage && 'active') href=href - ${title}
|
a.nav-link class=(id === currentPage && 'active') href=href -- ${title}
|
||||||
|
|
||||||
ul
|
ul
|
||||||
navLink('home', '/', 'Home')
|
navLink('home', '/', 'Home')
|
||||||
|
|||||||
@ -4,9 +4,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
html lang="en"
|
html lang="en"
|
||||||
head
|
head
|
||||||
title - ${pageTitle}
|
title -- ${pageTitle}
|
||||||
body
|
body
|
||||||
h1 - ${pageTitle}
|
h1 -- ${pageTitle}
|
||||||
|
|
||||||
p
|
p
|
||||||
---
|
---
|
||||||
@ -21,15 +21,15 @@ html lang="en"
|
|||||||
${feature}
|
${feature}
|
||||||
|
|
||||||
ul if(data.colors && data.colors.length)
|
ul if(data.colors && data.colors.length)
|
||||||
li for(color in data.colors) - ${color}
|
li for(color in data.colors) -- ${color}
|
||||||
div else
|
div else
|
||||||
- No colors!
|
-- No colors!
|
||||||
|
|
||||||
tabs
|
tabs
|
||||||
tabs:tab title="Tab 1"
|
tabs:tab title="Tab 1"
|
||||||
- Body content for Tab 1
|
-- Body content for Tab 1
|
||||||
tabs:tab title="Tab 2"
|
tabs:tab title="Tab 2"
|
||||||
- Body content for Tab 2
|
-- Body content for Tab 2
|
||||||
|
|
||||||
<script type='text/javascript'>
|
<script type='text/javascript'>
|
||||||
if (foo) {
|
if (foo) {
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
html lang="en"
|
html lang="en"
|
||||||
head
|
head
|
||||||
title - Marko Templating Engine
|
title -- Marko Templating Engine
|
||||||
body
|
body
|
||||||
h1 - Hello ${data.name}!
|
h1 -- Hello ${data.name}!
|
||||||
ul if(data.colors.length)
|
ul if(data.colors.length)
|
||||||
li for(color in data.colors)
|
li for(color in data.colors)
|
||||||
${color}
|
${color}
|
||||||
div else
|
div else
|
||||||
- No colors!
|
-- No colors!
|
||||||
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
html lang="en"
|
html lang="en"
|
||||||
head
|
head
|
||||||
title - Marko Templating Engine
|
title -- Marko Templating Engine
|
||||||
body
|
body
|
||||||
<h1>
|
<h1>
|
||||||
Hello ${data.name}!
|
Hello ${data.name}!
|
||||||
@ -10,4 +10,4 @@ html lang="en"
|
|||||||
li for(color in data.colors)
|
li for(color in data.colors)
|
||||||
${color}
|
${color}
|
||||||
div else
|
div else
|
||||||
- No colors!
|
-- No colors!
|
||||||
@ -1 +1 @@
|
|||||||
- [icon-list]
|
-- [icon-list]
|
||||||
@ -1,3 +1,3 @@
|
|||||||
var n=0
|
var n=0
|
||||||
ul
|
ul
|
||||||
li while(n < 4) - ${n++}
|
li while(n < 4) -- ${n++}
|
||||||
@ -1,4 +1,4 @@
|
|||||||
var n=0
|
var n=0
|
||||||
ul
|
ul
|
||||||
while(n < 4)
|
while(n < 4)
|
||||||
li - ${n++}
|
li -- ${n++}
|
||||||
@ -4,7 +4,7 @@ var marko_template = module.exports = require("marko/vdom").t(__filename),
|
|||||||
test_hello_tag = marko_loadTag(require("./tags/test-hello/renderer")),
|
test_hello_tag = marko_loadTag(require("./tags/test-hello/renderer")),
|
||||||
marko_createElement = marko_helpers.e,
|
marko_createElement = marko_helpers.e,
|
||||||
marko_const = marko_helpers.const,
|
marko_const = marko_helpers.const,
|
||||||
marko_const_nextId = marko_const("b7b61f"),
|
marko_const_nextId = marko_const("cee604"),
|
||||||
marko_node0 = marko_createElement("a", {
|
marko_node0 = marko_createElement("a", {
|
||||||
href: "foo"
|
href: "foo"
|
||||||
}, 1, marko_const_nextId())
|
}, 1, marko_const_nextId())
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
div
|
div
|
||||||
test-hello name="World"
|
test-hello name="World"
|
||||||
a href="foo"
|
a href="foo"
|
||||||
- Body content
|
-- Body content
|
||||||
@ -1 +1 @@
|
|||||||
- Hello ${name}! $!{message}
|
-- Hello ${name}! $!{message}
|
||||||
@ -1,2 +1,2 @@
|
|||||||
div class="app-dom-events-jquery" w-bind="./widget"
|
div class="app-dom-events-jquery" w-bind="./widget"
|
||||||
button type="button" w-id="button" - Button
|
button type="button" w-id="button" -- Button
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
- [app-widgetless]
|
-- [app-widgetless]
|
||||||
@ -1,2 +1,2 @@
|
|||||||
div class="app-dom-events-jquery"
|
div class="app-dom-events-jquery"
|
||||||
button type="button" ref="button" - Button
|
button type="button" ref="button" -- Button
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
- [app-widgetless]
|
-- [app-widgetless]
|
||||||
@ -4,7 +4,7 @@ lasso-page dependencies=data.browserDependencies lasso=data.lasso
|
|||||||
html lang="en"
|
html lang="en"
|
||||||
head
|
head
|
||||||
meta charset="UTF-8"
|
meta charset="UTF-8"
|
||||||
title - Marko Widgets Tests
|
title -- Marko Widgets Tests
|
||||||
lasso-head
|
lasso-head
|
||||||
body
|
body
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@ lasso-page dependencies=data.browserDependencies lasso=data.lasso
|
|||||||
html lang="en"
|
html lang="en"
|
||||||
head
|
head
|
||||||
meta charset="UTF-8"
|
meta charset="UTF-8"
|
||||||
title - Marko Widgets Tests
|
title -- Marko Widgets Tests
|
||||||
lasso-head
|
lasso-head
|
||||||
body
|
body
|
||||||
|
|
||||||
|
|||||||
@ -6,11 +6,11 @@ div
|
|||||||
onClick('handleButtonClick', {type: 'ok'})
|
onClick('handleButtonClick', {type: 'ok'})
|
||||||
onMouseMove('handleButtonMouseMove', {type: 'ok'})
|
onMouseMove('handleButtonMouseMove', {type: 'ok'})
|
||||||
]
|
]
|
||||||
- OK
|
-- OK
|
||||||
button [
|
button [
|
||||||
ref="cancel"
|
ref="cancel"
|
||||||
type="button"
|
type="button"
|
||||||
onClick('handleButtonClick', {type: 'cancel'})
|
onClick('handleButtonClick', {type: 'cancel'})
|
||||||
onMouseMove('handleButtonMouseMove', {type: 'cancel'})
|
onMouseMove('handleButtonMouseMove', {type: 'cancel'})
|
||||||
]
|
]
|
||||||
- Cancel
|
-- Cancel
|
||||||
@ -4,7 +4,7 @@ lasso-page dependencies=data.browserDependencies lasso=data.lasso
|
|||||||
html lang="en"
|
html lang="en"
|
||||||
head
|
head
|
||||||
meta charset="UTF-8"
|
meta charset="UTF-8"
|
||||||
title - Marko Widgets Tests
|
title -- Marko Widgets Tests
|
||||||
lasso-head
|
lasso-head
|
||||||
body
|
body
|
||||||
|
|
||||||
|
|||||||
@ -22,7 +22,7 @@ lasso-page dependencies=data.browserDependencies lasso=data.lasso
|
|||||||
html lang="en"
|
html lang="en"
|
||||||
head
|
head
|
||||||
meta charset="UTF-8"
|
meta charset="UTF-8"
|
||||||
title - Marko Widgets Tests
|
title -- Marko Widgets Tests
|
||||||
lasso-head
|
lasso-head
|
||||||
body
|
body
|
||||||
await(components from componentsDataProvider)
|
await(components from componentsDataProvider)
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user