Released version 4.1.0

This commit is contained in:
jos 2015-03-15 15:11:36 +01:00
parent fcfac08fc3
commit 45b1941f95
8 changed files with 75 additions and 98 deletions

View File

@ -1,8 +1,5 @@
app
bower.json bower.json
build
downloads downloads
src
misc misc
node_modules node_modules
test test

View File

@ -3,9 +3,11 @@
https://github.com/josdejong/jsoneditor https://github.com/josdejong/jsoneditor
## not yet released, version 4.1.0 ## 2015-03-15, version 4.1.0
- Implemented a function `focus()` for modes tree, view, and form. - Implemented a function `focus()` for modes tree, view, and form.
- Added `./src` folder to the distributed package, needed for usage via
node.js/browserify.
## 2015-02-28, version 4.0.0 ## 2015-02-28, version 4.0.0

View File

@ -1,6 +1,6 @@
{ {
"name": "jsoneditor", "name": "jsoneditor",
"version": "4.0.0", "version": "4.1.0",
"description": "A web-based tool to view, edit and format JSON", "description": "A web-based tool to view, edit and format JSON",
"tags": [ "tags": [
"json", "json",
@ -19,10 +19,6 @@
], ],
"bugs": "https://github.com/josdejong/jsoneditor/issues", "bugs": "https://github.com/josdejong/jsoneditor/issues",
"ignore": [ "ignore": [
"app",
"build",
"downloads",
"src",
"misc", "misc",
"node_modules", "node_modules",
"test", "test",
@ -32,7 +28,8 @@
"index.js", "index.js",
"package.json", "package.json",
".npmignore", ".npmignore",
".gitignore" ".gitignore",
"npm-debug.log"
], ],
"dependencies": {} "dependencies": {}
} }

107
dist/jsoneditor.js vendored
View File

@ -23,8 +23,8 @@
* Copyright (c) 2011-2015 Jos de Jong, http://jsoneditoronline.org * Copyright (c) 2011-2015 Jos de Jong, http://jsoneditoronline.org
* *
* @author Jos de Jong, <wjosdejong@gmail.com> * @author Jos de Jong, <wjosdejong@gmail.com>
* @version 4.0.0 * @version 4.1.0
* @date 2015-03-02 * @date 2015-03-15
*/ */
(function webpackUniversalModuleDefinition(root, factory) { (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object') if(typeof exports === 'object' && typeof module === 'object')
@ -39,41 +39,41 @@
return /******/ (function(modules) { // webpackBootstrap return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
/******/
/******/ // The require function /******/ // The require function
/******/ function __webpack_require__(moduleId) { /******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache /******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) /******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports; /******/ return installedModules[moduleId].exports;
/******/
/******/ // Create a new module (and put it into the cache) /******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = { /******/ var module = installedModules[moduleId] = {
/******/ exports: {}, /******/ exports: {},
/******/ id: moduleId, /******/ id: moduleId,
/******/ loaded: false /******/ loaded: false
/******/ }; /******/ };
/******/
/******/ // Execute the module function /******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded /******/ // Flag the module as loaded
/******/ module.loaded = true; /******/ module.loaded = true;
/******/
/******/ // Return the exports of the module /******/ // Return the exports of the module
/******/ return module.exports; /******/ return module.exports;
/******/ } /******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__) /******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules; /******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache /******/ // expose the module cache
/******/ __webpack_require__.c = installedModules; /******/ __webpack_require__.c = installedModules;
/******/
/******/ // __webpack_public_path__ /******/ // __webpack_public_path__
/******/ __webpack_require__.p = ""; /******/ __webpack_require__.p = "";
/******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(0); /******/ return __webpack_require__(0);
/******/ }) /******/ })
@ -26516,69 +26516,40 @@ return /******/ (function(modules) { // webpackBootstrap
// shim for using process in browser // shim for using process in browser
var process = module.exports = {}; var process = module.exports = {};
process.nextTick = (function () {
var canSetImmediate = typeof window !== 'undefined'
&& window.setImmediate;
var canMutationObserver = typeof window !== 'undefined'
&& window.MutationObserver;
var canPost = typeof window !== 'undefined'
&& window.postMessage && window.addEventListener
;
if (canSetImmediate) {
return function (f) { return window.setImmediate(f) };
}
var queue = []; var queue = [];
var draining = false;
if (canMutationObserver) { function drainQueue() {
var hiddenDiv = document.createElement("div"); if (draining) {
var observer = new MutationObserver(function () { return;
var queueList = queue.slice(); }
queue.length = 0; draining = true;
queueList.forEach(function (fn) { var currentQueue;
fn(); var len = queue.length;
}); while(len) {
}); currentQueue = queue;
queue = [];
observer.observe(hiddenDiv, { attributes: true }); var i = -1;
while (++i < len) {
return function nextTick(fn) { currentQueue[i]();
if (!queue.length) { }
hiddenDiv.setAttribute('yes', 'no'); len = queue.length;
}
draining = false;
}
process.nextTick = function (fun) {
queue.push(fun);
if (!draining) {
setTimeout(drainQueue, 0);
} }
queue.push(fn);
}; };
}
if (canPost) {
window.addEventListener('message', function (ev) {
var source = ev.source;
if ((source === window || source === null) && ev.data === 'process-tick') {
ev.stopPropagation();
if (queue.length > 0) {
var fn = queue.shift();
fn();
}
}
}, true);
return function nextTick(fn) {
queue.push(fn);
window.postMessage('process-tick', '*');
};
}
return function nextTick(fn) {
setTimeout(fn, 0);
};
})();
process.title = 'browser'; process.title = 'browser';
process.browser = true; process.browser = true;
process.env = {}; process.env = {};
process.argv = []; process.argv = [];
process.version = ''; // empty string to avoid regexp issues
process.versions = {};
function noop() {} function noop() {}
@ -26599,6 +26570,7 @@ return /******/ (function(modules) { // webpackBootstrap
process.chdir = function (dir) { process.chdir = function (dir) {
throw new Error('process.chdir is not supported'); throw new Error('process.chdir is not supported');
}; };
process.umask = function() { return 0; };
/***/ }, /***/ },
@ -26639,3 +26611,4 @@ return /******/ (function(modules) { // webpackBootstrap
/***/ } /***/ }
/******/ ]) /******/ ])
}); });
;

2
dist/jsoneditor.map vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"name": "jsoneditor", "name": "jsoneditor",
"version": "4.0.0", "version": "4.1.0",
"main": "./index", "main": "./index",
"description": "A web-based tool to view, edit and format JSON", "description": "A web-based tool to view, edit and format JSON",
"tags": [ "tags": [

0
src/css/img/export.sh Executable file → Normal file
View File