forked from josdejong/jsoneditor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved ace and jsonlint libraries to the root
- Loading branch information
Showing
13 changed files
with
75 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
} | ||
#jsoneditor { | ||
width: 500px; | ||
height: 500px; | ||
} | ||
</style> | ||
</head> | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
* | ||
* @author Jos de Jong, <[email protected]> | ||
* @version 2.2.0-SNAPSHOT | ||
* @date 2013-05-03 | ||
* @date 2013-05-04 | ||
*/ | ||
(function () { | ||
|
||
|
@@ -1094,7 +1094,7 @@ TextEditor.prototype._create = function (container, options, json) { | |
this.content.appendChild(this.editorDom); | ||
|
||
var editor = ace.edit(this.editorDom); | ||
editor.setTheme('ace/theme/jso'); | ||
editor.setTheme('ace/theme/jsoneditor'); | ||
editor.setShowPrintMargin(false); | ||
editor.setFontSize(13); | ||
editor.getSession().setMode('ace/mode/json'); | ||
|
@@ -1170,6 +1170,7 @@ TextEditor.prototype._delete = function () { | |
* It can be overwritten for each instance of the TextEditor | ||
* @param {String} err | ||
*/ | ||
// TODO: replace with an options.error | ||
TextEditor.prototype.onError = function(err) { | ||
// action should be implemented for the instance | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.