Skip to content

Commit

Permalink
Docs folder (jdorn#6)
Browse files Browse the repository at this point in the history
* LV: Moved examples -> docs

* LV: Moved demo -> docs. Pulling JS from unpkg vs dist folder (dist eventually doesn't really need to be in github)
  • Loading branch information
loganvolkers authored Mar 7, 2018
1 parent fc5d985 commit b7c0952
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion examples/advanced.html → docs/advanced.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" />
<title>Advanced JSON Editor Example</title>

<script src="../dist/jsoneditor.js"></script>
<script src="//unpkg.com/json-editor"></script>
</head>
<body>
<h1>Advanced JSON Editor Example</h1>
Expand Down
2 changes: 1 addition & 1 deletion examples/basic.html → docs/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>Basic JSON Editor Example</title>
<script src="../dist/jsoneditor.js"></script>
<script src="//unpkg.com/json-editor"></script>
</head>
<body>
<h1>Basic JSON Editor Example</h1>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<!-- Font Awesome icons (Bootstrap, Foundation, and jQueryUI also supported) -->
<link rel='stylesheet' href='//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.0.3/css/font-awesome.css'>

<script src="../dist/jsoneditor.js"></script>
<script src="//unpkg.com/json-editor"></script>

<script>
// Set the default CSS theme and icon library globally
Expand Down
2 changes: 1 addition & 1 deletion demo.html → docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link rel='stylesheet' id='icon_stylesheet'>

<style>[class*="foundicon-"] {font-family: GeneralFoundicons;font-style: normal;}</style>
<script src='dist/jsoneditor.js'></script>
<script src='//unpkg.com/json-editor'></script>

<script>
/**
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/recursive.html → docs/recursive.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<script src='//cdn.jsdelivr.net/sceditor/1.4.3/jquery.sceditor.min.js'></script>
<script src='//cdn.jsdelivr.net/sceditor/1.4.3/plugins/xhtml.js'></script>

<script src="../dist/jsoneditor.js"></script>
<script src="//unpkg.com/json-editor"></script>
</head>
<body>
<div class='container'>
Expand Down
2 changes: 1 addition & 1 deletion examples/select2.html → docs/select2.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>JSON Editor Select2 Integration Example</title>
<script src="../dist/jsoneditor.js"></script>
<script src="//unpkg.com/json-editor"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="//cdn.jsdelivr.net/select2/3.4.8/select2.min.js"></script>
<link rel="stylesheet" href="//cdn.jsdelivr.net/select2/3.4.8/select2.css">
Expand Down
2 changes: 1 addition & 1 deletion examples/selectize.html → docs/selectize.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>JSON Editor Selectize Integration Example</title>
<script src="../dist/jsoneditor.js"></script>
<script src="//unpkg.com/json-editor"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.1/js/standalone/selectize.js"></script>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.1/css/selectize.bootstrap3.css">
Expand Down
2 changes: 1 addition & 1 deletion examples/upload.html → docs/upload.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>JSON Editor Upload Example</title>
<script src="../dist/jsoneditor.js"></script>
<script src="//unpkg.com/json-editor"></script>
</head>
<body>
<h1>JSON Editor Upload Example</h1>
Expand Down
2 changes: 1 addition & 1 deletion examples/wysiwyg.html → docs/wysiwyg.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>JSON Editor WYSIWYG Example</title>
<script src="../dist/jsoneditor.js"></script>
<script src="//unpkg.com/json-editor"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="//cdn.jsdelivr.net/sceditor/1.4.3/jquery.sceditor.bbcode.min.js"></script>
<link rel="stylesheet" href="//cdn.jsdelivr.net/sceditor/1.4.3/jquery.sceditor.default.min.css">
Expand Down

0 comments on commit b7c0952

Please sign in to comment.