2013-01-06 05:19:38 +08:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html>
|
|
|
|
<head>
|
2014-05-30 04:13:37 +08:00
|
|
|
<title>JSONEditor | Require.js demo</title>
|
2013-11-16 01:11:50 +08:00
|
|
|
<style type="text/css">
|
|
|
|
#jsoneditor {
|
|
|
|
width: 500px;
|
|
|
|
height: 500px;
|
|
|
|
}
|
|
|
|
</style>
|
2015-03-01 03:47:23 +08:00
|
|
|
<link rel="stylesheet" type="text/css" href="../../dist/jsoneditor.css">
|
2013-11-16 01:11:50 +08:00
|
|
|
<script data-main="scripts/main" src="scripts/require.js"></script>
|
2013-01-06 05:19:38 +08:00
|
|
|
</head>
|
|
|
|
<body>
|
2013-11-16 01:11:50 +08:00
|
|
|
<p>
|
|
|
|
<button id="setJSON">Set JSON</button>
|
|
|
|
<button id="getJSON">Get JSON</button>
|
|
|
|
</p>
|
|
|
|
<div id="jsoneditor"></div>
|
2013-01-06 05:19:38 +08:00
|
|
|
</body>
|
|
|
|
</html>
|