forked from josdejong/jsoneditor
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
re-built jsoneditor.js after latest changes
- Loading branch information
1 parent
2206a50
commit 2b7d5ec
Showing
3 changed files
with
12 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
* | ||
* @author Daniel Moisset, [email protected] | ||
* @version 3.1.2 | ||
* @date 2015-01-05 | ||
* @date 2015-01-23 | ||
*/ | ||
|
||
(function webpackUniversalModuleDefinition(root, factory) { | ||
|
@@ -96,6 +96,8 @@ return /******/ (function(modules) { // webpackBootstrap | |
* 'form', 'text', and 'code'. | ||
* {function} change Callback method, triggered | ||
* on change of contents | ||
* {function} click Callback method, triggered | ||
* on click | ||
* {Boolean} search Enable search box. | ||
* True by default | ||
* Only applicable for modes | ||
|
@@ -349,6 +351,8 @@ return /******/ (function(modules) { // webpackBootstrap | |
* True by default | ||
* {function} change Callback method, triggered | ||
* on change of contents | ||
* {function} click Callback method, triggered | ||
* when a node is clicked | ||
* {String} name Field name for the root node. | ||
* @private | ||
*/ | ||
|
@@ -893,6 +897,9 @@ return /******/ (function(modules) { // webpackBootstrap | |
var node = Node.getNodeFromTarget(target); | ||
if (node) { | ||
node.onEvent(event); | ||
if (event.type == 'click' && this.options.click) { | ||
this.options.click(node) | ||
} | ||
} | ||
}; | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.