Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kityminder-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吴志俊
kityminder-core
Commits
af985776
Commit
af985776
authored
Sep 02, 2015
by
张博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bug: 用户初始化后触发 paperrender 事件
parent
50447482
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
kityminder.core.js
dist/kityminder.core.js
+3
-3
kityminder.core.min.js
dist/kityminder.core.min.js
+5
-5
minder.js
src/core/minder.js
+1
-1
view.js
src/module/view.js
+1
-1
No files found.
dist/kityminder.core.js
View file @
af985776
/*!
/*!
* ====================================================
* ====================================================
* kityminder - v1.4.1 - 2015-0
8-05
* kityminder - v1.4.1 - 2015-0
9-02
* 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
...
@@ -1798,7 +1798,7 @@ _p[18] = {
...
@@ -1798,7 +1798,7 @@ _p[18] = {
initHook
.
call
(
this
,
this
.
_options
);
initHook
.
call
(
this
,
this
.
_options
);
}
}
}
}
this
.
fire
(
"
ready
"
);
this
.
fire
(
"
finishInitHook
"
);
}
}
});
});
Minder
.
version
=
"1.4.1"
;
Minder
.
version
=
"1.4.1"
;
...
@@ -7010,7 +7010,7 @@ _p[59] = {
...
@@ -7010,7 +7010,7 @@ _p[59] = {
this
.
execCommand
(
"camera"
,
this
.
getRoot
(),
800
);
this
.
execCommand
(
"camera"
,
this
.
getRoot
(),
800
);
}
}
},
},
paperrender
:
function
()
{
"paperrender finishInitHook"
:
function
()
{
this
.
execCommand
(
"camera"
,
null
,
0
);
this
.
execCommand
(
"camera"
,
null
,
0
);
this
.
_lastClientSize
=
{
this
.
_lastClientSize
=
{
width
:
this
.
getRenderTarget
().
clientWidth
,
width
:
this
.
getRenderTarget
().
clientWidth
,
...
...
dist/kityminder.core.min.js
View file @
af985776
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/core/minder.js
View file @
af985776
...
@@ -26,7 +26,7 @@ define(function(require, exports, module) {
...
@@ -26,7 +26,7 @@ define(function(require, exports, module) {
}
}
}
}
this
.
fire
(
'
ready
'
);
this
.
fire
(
'
finishInitHook
'
);
}
}
});
});
...
...
src/module/view.js
View file @
af985776
...
@@ -311,7 +311,7 @@ define(function(require, exports, module) {
...
@@ -311,7 +311,7 @@ define(function(require, exports, module) {
this
.
execCommand
(
'camera'
,
this
.
getRoot
(),
800
);
this
.
execCommand
(
'camera'
,
this
.
getRoot
(),
800
);
}
}
},
},
'paperrender'
:
function
()
{
'paperrender
finishInitHook
'
:
function
()
{
this
.
execCommand
(
'camera'
,
null
,
0
);
this
.
execCommand
(
'camera'
,
null
,
0
);
this
.
_lastClientSize
=
{
this
.
_lastClientSize
=
{
width
:
this
.
getRenderTarget
().
clientWidth
,
width
:
this
.
getRenderTarget
().
clientWidth
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment