Skip to content

Commit

Permalink
Restructured the files
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Aug 16, 2012
1 parent df6b65c commit e290ff1
Show file tree
Hide file tree
Showing 17 changed files with 127 additions and 125 deletions.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@

<link rel="shortcut icon" href="favicon.ico">

<link rel="stylesheet" type="text/css" href="interface.css">
<link rel="stylesheet" type="text/css" href="jsoneditor.css">
<link rel="stylesheet" type="text/css" href="interface/interface.css">
<link rel="stylesheet" type="text/css" href="jsoneditor/jsoneditor.css">
<!-- TODO: droid font
<link href='http://fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css'>
-->

<script type="text/javascript" src="jsoneditor-min.js"></script>
<script type="text/javascript" src="interface.js"></script>
<script type="text/javascript" src="jsoneditor/jsoneditor-min.js"></script>
<script type="text/javascript" src="interface/interface.js"></script>
</head>

<body spellcheck="false" >
Expand Down
4 changes: 2 additions & 2 deletions interface.css → interface/interface.css
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ div.convert-right, div.convert-left {
}

div.convert-right {
background: url('img/jsoneditor-icons.png') -168px 0;
background: url('../jsoneditor/img/jsoneditor-icons.png') -168px 0;
}

div.convert-left {
background: url('img/jsoneditor-icons.png') -192px 0;
background: url('../jsoneditor/img/jsoneditor-icons.png') -192px 0;
}
File renamed without changes.
107 changes: 0 additions & 107 deletions jsoneditor-min.js

This file was deleted.

4 changes: 2 additions & 2 deletions demo.html → jsoneditor/examples/demo.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" type="text/css" href="jsoneditor.css">
<script type="text/javascript" src="jsoneditor-min.js"></script>
<link rel="stylesheet" type="text/css" href="../jsoneditor.css">
<script type="text/javascript" src="../jsoneditor.js"></script>
</head>
<body>
<p>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
109 changes: 109 additions & 0 deletions jsoneditor/jsoneditor-min.js

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions index_no_ads.html → test.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@

<link rel="shortcut icon" href="favicon.ico">

<link href="interface.css" rel="stylesheet" type="text/css">
<link href="jsoneditor.css" rel="stylesheet" type="text/css">
<link href="interface/interface.css" rel="stylesheet" type="text/css">
<link href="jsoneditor/jsoneditor.css" rel="stylesheet" type="text/css">
<!-- TODO: droid font
<link href='http://fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css'>
-->

<script type="text/javascript" src="jsoneditor.js"></script>
<script type="text/javascript" src="interface.js"></script>
<script type="text/javascript" src="jsoneditor/jsoneditor.js"></script>
<script type="text/javascript" src="interface/interface.js"></script>

</head>

Expand Down
6 changes: 3 additions & 3 deletions couchdbeditor.html → test/couchdbeditor.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<meta name="keywords" content="json, editor, couchdb, online, javascript, javascript object notation, treeview, open source, free">
<meta name="author" content="Jos de Jong">

<link rel="shortcut icon" href="favicon.ico">
<link rel="shortcut icon" href="../favicon.ico">

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
<script type="text/javascript" src="jsoneditor.js"></script>
<link rel="stylesheet" type="text/css" href="jsoneditor.css">
<script type="text/javascript" src="../jsoneditor/jsoneditor.js"></script>
<link rel="stylesheet" type="text/css" href="../jsoneditor/jsoneditor.css">

<style type="text/css">
body, html {
Expand Down
2 changes: 1 addition & 1 deletion tools/built.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sh minify.sh
cd ..

package="jsoneditoronline.zip"
files="index.html jsoneditor.js jsoneditor-min.js jsoneditor.css favicon.ico changelog.txt img LICENSE ../NOTICE"
files="index.html jsoneditor/jsoneditor.js jsoneditor/jsoneditor-min.js jsoneditor/jsoneditor.css favicon.ico changelog.txt jsoneditor/img LICENSE NOTICE README"

rm $package

Expand Down
4 changes: 2 additions & 2 deletions tools/minify.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh

compiler="compiler.jar"
file="../jsoneditor.js"
minifiedFile="../jsoneditor-min.js"
file="../jsoneditor/jsoneditor.js"
minifiedFile="../jsoneditor/jsoneditor-min.js"

echo "Minifying file $file..."

Expand Down

0 comments on commit e290ff1

Please sign in to comment.