Skip to content

Commit

Permalink
update test.html.
Browse files Browse the repository at this point in the history
  • Loading branch information
sterpe committed Feb 6, 2015
1 parent 2ad7412 commit d9ecc3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/test.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html>
<body>
<script src="../xmllint.js"></script>
<form onsubmit="alert(validateXML(xml.value, schema.value)); return false;">
<form onsubmit="console.log(xmllint.validateXML({ xml: xml.value, schema: schema.value}).errors); return false;">
XML: <textarea rows=10 cols=80 id="xml"></textarea>
<br>
Schema: <textarea rows=10 cols=80 id="schema"></textarea>
Expand Down
6 changes: 3 additions & 3 deletions xmllint.js

Large diffs are not rendered by default.

0 comments on commit d9ecc3c

Please sign in to comment.