Skip to content

Commit

Permalink
removed old comments
Browse files Browse the repository at this point in the history
  • Loading branch information
akreienbring committed Jul 16, 2020
1 parent c66bdfd commit add3341
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/dbdesigner.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/dbdesigner.js.map

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions src/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,15 +447,13 @@ class App {
* @see loadCanvasState()
*/
clearCanvas() {
//this.jsPlumbInstance.remove(jQuery(dbdesigner.namespaceWrapper + ".tableDesign"));
//this.jsPlumbInstance.deleteEveryConnection();
this.jsPlumbInstance.empty(jQuery(dbdesigner.namespaceWrapper + "#theCanvas"));

dbdesigner.tables = {};

// Clear out the copy stored in storage
storage.remove(true); //ACTIVATE FOR Testing or when an other storage then local storage is used.
//storage.remove();
//storage.remove(true); //ACTIVATE FOR Testing or when an other storage then local storage is used.
storage.remove();
};

/**
Expand Down

0 comments on commit add3341

Please sign in to comment.