Skip to content

Commit

Permalink
Moved sourcecode from /jsoneditor to /src
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed May 29, 2014
1 parent 4eae0cf commit 282dc4f
Show file tree
Hide file tree
Showing 27 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ app
bower.json
build
downloads
jsoneditor
src
misc
node_modules
test
Expand Down
4 changes: 2 additions & 2 deletions Jakefile.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ task('clear', function () {
*/
desc('Build the library');
task('build', ['clear'], function () {
var jsoneditorSrc = './jsoneditor/';
var jsoneditorSrc = './src/';
// concatenate the javascript files
concat({
src: [
Expand Down Expand Up @@ -122,7 +122,7 @@ task('minify', ['build'], function () {
minify({
src: JSONEDITOR,
dest: JSONEDITOR_MIN,
header: read('./jsoneditor/js/header.js'),
header: read('./src/js/header.js'),
separator: '\n'
});

Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ download:

### Build

The code of the JSON Editor is located in the folder `jsoneditor`. To build
The code of the JSON Editor is located in the folder `src`. To build
jsoneditor:

- Install dependencies:
Expand All @@ -116,6 +116,5 @@ jsoneditor:

npm run build

This will generate the files `jsoneditor.js`,
`jsoneditor.css`, and minified versions, and will create a folder `build`
containing the zipped library and the built web application.
This will generate the files `jsoneditor.js`, `jsoneditor.css`, and minified
versions in the root of the project.
1 change: 1 addition & 0 deletions asset/ace/ace.js

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 1 addition & 3 deletions test/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@

<!-- ace code editor -->
<script type="text/javascript" src="../node_modules/ace/build/src-min/ace.js"></script>
<script type="text/javascript" src="../node_modules/ace/build/src-min/mode-json.js"></script>
<script type="text/javascript" src="../node_modules/ace/build/src-min/theme-textmate.js"></script>
<script type="text/javascript" src="../jsoneditor/js/ace/theme-jsoneditor.js"></script>
<script type="text/javascript" src="../src/js/ace/theme-jsoneditor.js"></script>

<!-- json lint -->
<script type="text/javascript" src="../node_modules/jsonlint/lib/jsonlint.js"></script>
Expand Down

0 comments on commit 282dc4f

Please sign in to comment.