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": {}
} }

111
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);
/******/ }) /******/ })
@ -26506,7 +26506,7 @@ return /******/ (function(modules) { // webpackBootstrap
return str.substr(start, len); return str.substr(start, len);
} }
; ;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(20))) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(20)))
/***/ }, /***/ },
@ -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 = {};
var queue = [];
var draining = false;
process.nextTick = (function () { function drainQueue() {
var canSetImmediate = typeof window !== 'undefined' if (draining) {
&& window.setImmediate; return;
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) };
} }
draining = true;
var queue = []; var currentQueue;
var len = queue.length;
if (canMutationObserver) { while(len) {
var hiddenDiv = document.createElement("div"); currentQueue = queue;
var observer = new MutationObserver(function () { queue = [];
var queueList = queue.slice(); var i = -1;
queue.length = 0; while (++i < len) {
queueList.forEach(function (fn) { currentQueue[i]();
fn(); }
}); len = queue.length;
});
observer.observe(hiddenDiv, { attributes: true });
return function nextTick(fn) {
if (!queue.length) {
hiddenDiv.setAttribute('yes', 'no');
}
queue.push(fn);
};
} }
draining = false;
if (canPost) { }
window.addEventListener('message', function (ev) { process.nextTick = function (fun) {
var source = ev.source; queue.push(fun);
if ((source === window || source === null) && ev.data === 'process-tick') { if (!draining) {
ev.stopPropagation(); setTimeout(drainQueue, 0);
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; };
/***/ }, /***/ },
@ -26633,9 +26605,10 @@ return /******/ (function(modules) { // webpackBootstrap
return type ? builder.getBlob(type) : builder.getBlob() return type ? builder.getBlob(type) : builder.getBlob()
} }
} }
/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
/***/ } /***/ }
/******/ ]) /******/ ])
}); });
;

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