Commit 356831a7 authored by 张博's avatar 张博

feat(release): release v1.4.31

parent 4b1d56d2
......@@ -2,7 +2,7 @@
"name": "kityminder-core",
"title": "Kity Minder Core",
"description": "Powerful online mind graphic visualization and editor (command based)",
"version": "1.4.30",
"version": "1.4.31",
"main": [
"dist/kityminder.core.min.js",
"dist/kityminder.core.css"
......
/*!
* ====================================================
* kityminder - v1.4.30 - 2016-01-22
* kityminder - v1.4.31 - 2016-01-22
* https://github.com/fex-team/kityminder-core
* GitHub: https://github.com/fex-team/kityminder-core.git
* Copyright (c) 2016 Baidu FEX; Licensed MIT
......@@ -1969,7 +1969,7 @@ _p[19] = {
this.fire("finishInitHook");
}
});
Minder.version = "1.4.30";
Minder.version = "1.4.31";
Minder.registerInitHook = function(hook) {
_initHooks.push(hook);
};
......@@ -6809,18 +6809,20 @@ _p[57] = {
update: function(container, node, box) {
var spaceRight = node.getStyle("space-right");
var overlays = this.overlays;
var resource = node.getData("resource");
var minder = node.getMinder();
var i, overlay, x;
x = 0;
for (i = 0; i < resource.length; i++) {
/* 修复 resource 数组中出现 null 的 bug
* @Author zhangbobell
* @date 2016-01-15
*/
if (!resource[i]) {
continue;
var resource = node.getData("resource").filter(function(ele) {
return ele !== null;
});
if (resource.length === 0) {
return;
}
var minder = node.getMinder();
var i, overlay, x;
x = 0;
for (i = 0; i < resource.length; i++) {
x += spaceRight;
overlay = overlays[i];
if (!overlay) {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2,7 +2,7 @@
"name": "kityminder",
"title": "kityminder",
"description": "KityMinder Core Implement",
"version": "1.4.30",
"version": "1.4.31",
"homepage": "https://github.com/fex-team/kityminder-core",
"author": {
"name": "Baidu FEX",
......
......@@ -30,7 +30,7 @@ define(function(require, exports, module) {
}
});
Minder.version = '1.4.30';
Minder.version = '1.4.31';
Minder.registerInitHook = function(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