Moved sourcecode from `/jsoneditor` to `/src`

This commit is contained in:
jos 2014-05-29 18:42:14 +02:00
parent 4eae0cff1f
commit 282dc4f7ac
27 changed files with 8 additions and 10 deletions

View File

@ -2,7 +2,7 @@ app
bower.json
build
downloads
jsoneditor
src
misc
node_modules
test

View File

@ -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: [
@ -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'
});

View File

@ -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:
@ -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.

File diff suppressed because one or more lines are too long

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

@ -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>