forked from realrunner/simple-xml-pojo-gen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
25 lines (25 loc) · 878 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<html>
<head>
<title>SimpleXML Bean Generator</title>
<!--
<script src="http://cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> -->
<script src="underscore.js"></script>
<script src="jquery-1.10.2.js"></script>
<script src="gen.js"></script>
<script>
$(function(){
$("#input").on("change keyup", function() {
var gen = new BeanGenerator($(this).val());
$("#output").val(gen.generate());
});
});
</script>
</head>
<body>
<h1>XML Example</h1>
<textarea rows="25" cols="150" id="input" style="font: 11px Courier, 'Courier New'"></textarea>
<h1>Bean</h1>
<textarea rows="25" cols="150" id="output" style="font: 11px Courier, 'Courier New'"></textarea>
</body>
</html>