Skip to content

Commit

Permalink
test: inline iframe.js so ospec doesn't try to run it
Browse files Browse the repository at this point in the history
  • Loading branch information
tivac committed Feb 19, 2018
1 parent a34f60c commit 8d30578
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
17 changes: 15 additions & 2 deletions render/tests/manual/iframe.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
<!doctype html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<div id="root"></div>
<script src="../../../mithril.js"></script>
<script src="./iframe.js"></script>
<script>
var count = 0

var Button = {
view: function() {
return m(
"button",
{onclick: function() { count += 1 }},
"Inside the iframe: " + count)
}
}

m.mount(document.getElementById("root"), Button)
</script>
</body>
</html>
12 changes: 0 additions & 12 deletions render/tests/manual/iframe.js

This file was deleted.

0 comments on commit 8d30578

Please sign in to comment.