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
7c2cb5ae
Commit
7c2cb5ae
authored
Sep 02, 2015
by
张博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加了 finishHook 事件判断 renderTarget 是否存在
parent
af985776
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
kityminder.core.js
dist/kityminder.core.js
+3
-0
kityminder.core.min.js
dist/kityminder.core.min.js
+2
-2
view.js
src/module/view.js
+3
-0
No files found.
dist/kityminder.core.js
View file @
7c2cb5ae
...
...
@@ -7011,6 +7011,9 @@ _p[59] = {
}
},
"paperrender finishInitHook"
:
function
()
{
if
(
!
this
.
getRenderTarget
())
{
return
;
}
this
.
execCommand
(
"camera"
,
null
,
0
);
this
.
_lastClientSize
=
{
width
:
this
.
getRenderTarget
().
clientWidth
,
...
...
dist/kityminder.core.min.js
View file @
7c2cb5ae
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/module/view.js
View file @
7c2cb5ae
...
...
@@ -312,6 +312,9 @@ define(function(require, exports, module) {
}
},
'paperrender finishInitHook'
:
function
()
{
if
(
!
this
.
getRenderTarget
())
{
return
;
}
this
.
execCommand
(
'camera'
,
null
,
0
);
this
.
_lastClientSize
=
{
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