v0.2.2-rc.1

This commit is contained in:
Leo Horie 2015-12-20 09:14:28 -05:00
parent 484a9d6c70
commit 270b20a2b0
110 changed files with 17357 additions and 3070 deletions

View file

@ -26,7 +26,7 @@ function test(sel) {
m.module(document.getElementById("test"), {
controller: function() {
this.title = m.prop("hello world")
this.title = m.prop("hello world");
},
view: function (ctrl) {
@ -55,7 +55,7 @@ m.module(document.getElementById("test"), {
m("div[contenteditable]", {
style: {border: "1px solid #888"},
onkeyup: m.withAttr("innerHTML", ctrl.title)
}, ctrl.title())
}, ctrl.title()),
]),
m("li", [
@ -64,10 +64,10 @@ m.module(document.getElementById("test"), {
m("div[contenteditable]", {
style: {border: "1px solid #888"},
onkeyup: m.withAttr("innerHTML", ctrl.title)
}, m.trust(ctrl.title()))
}, m.trust(ctrl.title())),
])
])
])
]);
}
})
});
</script>