Skip to content

Commit

Permalink
feat(release): fix png export cache bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangbobell committed Apr 17, 2017
1 parent 3738f52 commit 7cadbd1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "kityminder-core",
"title": "Kity Minder Core",
"description": "Powerful online mind graphic visualization and editor (command based)",
"version": "1.4.39",
"version": "1.4.40",
"main": [
"dist/kityminder.core.min.js",
"dist/kityminder.core.css"
Expand Down
6 changes: 3 additions & 3 deletions dist/kityminder.core.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* ====================================================
* kityminder - v1.4.39 - 2017-04-17
* kityminder - v1.4.40 - 2017-04-17
* https://github.com/fex-team/kityminder-core
* GitHub: https://github.com/fex-team/kityminder-core.git
* Copyright (c) 2017 Baidu FEX; Licensed MIT
Expand Down Expand Up @@ -1969,7 +1969,7 @@ _p[19] = {
this.fire("finishInitHook");
}
});
Minder.version = "1.4.39";
Minder.version = "1.4.40";
Minder.registerInitHook = function(hook) {
_initHooks.push(hook);
};
Expand Down Expand Up @@ -8051,7 +8051,7 @@ _p[65] = {
function xhrLoadImage(info, callback) {
return Promise(function(resolve, reject) {
var xmlHttp = new XMLHttpRequest();
xmlHttp.open("GET", info.url, true);
xmlHttp.open("GET", info.url + "?_=" + Date.now(), true);
xmlHttp.responseType = "blob";
xmlHttp.onreadystatechange = function() {
if (xmlHttp.readyState === 4 && xmlHttp.status === 200) {
Expand Down
6 changes: 3 additions & 3 deletions dist/kityminder.core.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "kityminder",
"title": "kityminder",
"description": "KityMinder Core Implement",
"version": "1.4.39",
"version": "1.4.40",
"homepage": "https://github.com/fex-team/kityminder-core",
"author": {
"name": "Baidu FEX",
Expand Down
2 changes: 1 addition & 1 deletion src/core/minder.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ define(function(require, exports, module) {
}
});

Minder.version = '1.4.39';
Minder.version = '1.4.40';

Minder.registerInitHook = function(hook) {
_initHooks.push(hook);
Expand Down

0 comments on commit 7cadbd1

Please sign in to comment.