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 bower.json
build build
downloads downloads
jsoneditor src
misc misc
node_modules node_modules
test test

View File

@ -39,7 +39,7 @@ task('clear', function () {
*/ */
desc('Build the library'); desc('Build the library');
task('build', ['clear'], function () { task('build', ['clear'], function () {
var jsoneditorSrc = './jsoneditor/'; var jsoneditorSrc = './src/';
// concatenate the javascript files // concatenate the javascript files
concat({ concat({
src: [ src: [
@ -122,7 +122,7 @@ task('minify', ['build'], function () {
minify({ minify({
src: JSONEDITOR, src: JSONEDITOR,
dest: JSONEDITOR_MIN, dest: JSONEDITOR_MIN,
header: read('./jsoneditor/js/header.js'), header: read('./src/js/header.js'),
separator: '\n' separator: '\n'
}); });

View File

@ -96,7 +96,7 @@ download:
### Build ### 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: jsoneditor:
- Install dependencies: - Install dependencies:
@ -116,6 +116,5 @@ jsoneditor:
npm run build npm run build
This will generate the files `jsoneditor.js`, This will generate the files `jsoneditor.js`, `jsoneditor.css`, and minified
`jsoneditor.css`, and minified versions, and will create a folder `build` versions in the root of the project.
containing the zipped library and the built web application.

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 --> <!-- 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/ace.js"></script>
<script type="text/javascript" src="../node_modules/ace/build/src-min/mode-json.js"></script> <script type="text/javascript" src="../src/js/ace/theme-jsoneditor.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>
<!-- json lint --> <!-- json lint -->
<script type="text/javascript" src="../node_modules/jsonlint/lib/jsonlint.js"></script> <script type="text/javascript" src="../node_modules/jsonlint/lib/jsonlint.js"></script>