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
484331d1
Commit
484331d1
authored
Feb 12, 2014
by
campaign
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
73e2d84d
9298a20b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
history.js
src/module/history.js
+0
-2
No files found.
src/module/history.js
View file @
484331d1
...
@@ -51,7 +51,6 @@ KityMinder.registerModule( "HistoryModule", function () {
...
@@ -51,7 +51,6 @@ KityMinder.registerModule( "HistoryModule", function () {
},
},
restore
:
function
()
{
restore
:
function
()
{
var
scene
=
this
.
list
[
this
.
index
];
var
scene
=
this
.
list
[
this
.
index
];
debugger
;
this
.
km
.
setRoot
(
scene
.
cloneData
()
);
this
.
km
.
setRoot
(
scene
.
cloneData
()
);
this
.
km
.
initStyle
();
this
.
km
.
initStyle
();
this
.
update
();
this
.
update
();
...
@@ -60,7 +59,6 @@ KityMinder.registerModule( "HistoryModule", function () {
...
@@ -60,7 +59,6 @@ KityMinder.registerModule( "HistoryModule", function () {
return
new
Scene
(
this
.
km
.
getRoot
()
)
return
new
Scene
(
this
.
km
.
getRoot
()
)
},
},
saveScene
:
function
()
{
saveScene
:
function
()
{
debugger
;
var
currentScene
=
this
.
getScene
();
var
currentScene
=
this
.
getScene
();
var
lastScene
=
this
.
list
[
this
.
index
];
var
lastScene
=
this
.
list
[
this
.
index
];
if
(
lastScene
&&
lastScene
.
equals
(
currentScene
)
)
{
if
(
lastScene
&&
lastScene
.
equals
(
currentScene
)
)
{
...
...
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