Commit 513f0db6 authored by 张博's avatar 张博

release v1.4.25

parent 4ab504b9
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"name": "kityminder-core", "name": "kityminder-core",
"title": "Kity Minder Core", "title": "Kity Minder Core",
"description": "Powerful online mind graphic visualization and editor (command based)", "description": "Powerful online mind graphic visualization and editor (command based)",
"version": "1.4.24", "version": "1.4.25",
"main": [ "main": [
"dist/kityminder.core.min.js", "dist/kityminder.core.min.js",
"dist/kityminder.core.css" "dist/kityminder.core.css"
......
/*! /*!
* ==================================================== * ====================================================
* kityminder - v1.4.24 - 2015-11-12 * kityminder - v1.4.25 - 2015-12-14
* https://github.com/fex-team/kityminder-core * https://github.com/fex-team/kityminder-core
* GitHub: https://github.com/fex-team/kityminder-core.git * GitHub: https://github.com/fex-team/kityminder-core.git
* Copyright (c) 2015 Baidu FEX; Licensed MIT * Copyright (c) 2015 Baidu FEX; Licensed MIT
...@@ -1962,7 +1962,7 @@ _p[19] = { ...@@ -1962,7 +1962,7 @@ _p[19] = {
this.fire("finishInitHook"); this.fire("finishInitHook");
} }
}); });
Minder.version = "1.4.24"; Minder.version = "1.4.25";
Minder.registerInitHook = function(hook) { Minder.registerInitHook = function(hook) {
_initHooks.push(hook); _initHooks.push(hook);
}; };
...@@ -3374,7 +3374,12 @@ _p[29] = { ...@@ -3374,7 +3374,12 @@ _p[29] = {
utils.each(obj, function(keys, command) { utils.each(obj, function(keys, command) {
binds[command] = keys; binds[command] = keys;
minder.addShortcut(keys, function execCommandByShortcut() { minder.addShortcut(keys, function execCommandByShortcut() {
if (minder.queryCommandState(command) === 0) { /**
* 之前判断有问题,由 === 0 改为 !== -1
* @editor Naixor
* @Date 2015-12-2
*/
if (minder.queryCommandState(command) !== -1) {
minder.execCommand(command); minder.execCommand(command);
} }
}); });
...@@ -7113,7 +7118,7 @@ _p[60] = { ...@@ -7113,7 +7118,7 @@ _p[60] = {
"impact,chicago": -.15, "impact,chicago": -.15,
"times new roman": -.1, "times new roman": -.1,
"arial black,avant garde": -.17, "arial black,avant garde": -.17,
"default": -.15 "default": 0
}, },
ie: { ie: {
10: { 10: {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"name": "kityminder", "name": "kityminder",
"title": "kityminder", "title": "kityminder",
"description": "KityMinder Core Implement", "description": "KityMinder Core Implement",
"version": "1.4.24", "version": "1.4.25",
"homepage": "https://github.com/fex-team/kityminder-core", "homepage": "https://github.com/fex-team/kityminder-core",
"author": { "author": {
"name": "Baidu FEX", "name": "Baidu FEX",
......
...@@ -30,7 +30,7 @@ define(function(require, exports, module) { ...@@ -30,7 +30,7 @@ define(function(require, exports, module) {
} }
}); });
Minder.version = '1.4.24'; Minder.version = '1.4.25';
Minder.registerInitHook = function(hook) { Minder.registerInitHook = function(hook) {
_initHooks.push(hook); _initHooks.push(hook);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment