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
2c1d1e6e
Commit
2c1d1e6e
authored
Dec 24, 2013
by
Akikonata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed module
parent
2ea49a63
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
dev.html
demo/dev.html
+1
-0
minder.module.js
src/core/minder.module.js
+3
-3
No files found.
demo/dev.html
View file @
2c1d1e6e
...
...
@@ -42,5 +42,6 @@
}]
});
minder
.
execCommand
(
'renderroot'
,
minder
);
minder
.
reset
();
</script>
</html>
\ No newline at end of file
src/core/minder.module.js
View file @
2c1d1e6e
...
...
@@ -48,10 +48,10 @@ kity.extendClass( Minder, {
destroy
:
function
()
{
var
me
=
this
;
var
_modulesList
=
this
.
_options
.
modules
;
var
_modules
=
this
.
_modules
;
var
_modulesList
=
me
.
_options
.
modules
;
var
_modules
=
me
.
_modules
;
//解除事件绑定
this
.
_resetEvents
();
me
.
_resetEvents
();
for
(
var
key
in
_modules
)
{
if
(
!
_modules
[
key
].
destroy
)
continue
;
_modules
[
key
].
destroy
.
call
(
me
);
...
...
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