Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
60646e94
Commit
60646e94
authored
Nov 27, 2014
by
Jérome Perrin
Committed by
Ioannis Papagiannopoulos
Dec 18, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
graph editor: update TODO
parent
5891713a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
17 deletions
+1
-17
dream/platform/src/jsplumb/jsplumb.js
dream/platform/src/jsplumb/jsplumb.js
+1
-17
No files found.
dream/platform/src/jsplumb/jsplumb.js
View file @
60646e94
...
@@ -25,22 +25,6 @@
...
@@ -25,22 +25,6 @@
"
use strict
"
;
"
use strict
"
;
/*jslint nomen: true */
/*jslint nomen: true */
/* TODO:
* - make node edition popup a gadget ?
* - add function to turn event handlers in promise ?
*
* tests:
* - loading & saving DONE
* - dropping a new node from palette DONE
* - dragging a node
* - editing node properties with popup (make sure we can display after
* edit)
* - connecting two nodes
* - removing a connection
* - removing a node ( make sure connections are removed )
* - changing a node id ( make sure connections are updated ) ( make sure
* we can display after edit )
*/
var
gadget_klass
=
rJS
(
window
),
var
gadget_klass
=
rJS
(
window
),
node_template_source
=
gadget_klass
.
__template_element
node_template_source
=
gadget_klass
.
__template_element
.
getElementById
(
'
node-template
'
).
innerHTML
,
.
getElementById
(
'
node-template
'
).
innerHTML
,
...
@@ -512,7 +496,6 @@
...
@@ -512,7 +496,6 @@
return
removeElement
(
gadget
,
node_id
);
return
removeElement
(
gadget
,
node_id
);
});
});
// XXX the gadget to use on node click should be an option
return
gadget
.
declareGadget
(
"
../fieldset/index.html
"
,
{
return
gadget
.
declareGadget
(
"
../fieldset/index.html
"
,
{
element
:
fieldset_element
,
element
:
fieldset_element
,
scope
:
'
fieldset
'
scope
:
'
fieldset
'
...
@@ -532,6 +515,7 @@
...
@@ -532,6 +515,7 @@
// Expose the dialog handling promise so that we can wait for it in
// Expose the dialog handling promise so that we can wait for it in
// test.
// test.
gadget
.
props
.
dialog_promise
=
RSVP
.
any
([
gadget
.
props
.
dialog_promise
=
RSVP
.
any
([
// TODO: why different signature ?
save_promise
(
fieldset_gadget
,
node_id
),
save_promise
(
fieldset_gadget
,
node_id
),
delete_promise
delete_promise
]);
]);
...
...
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