Skip to content

Commit

Permalink
Update dep_graph.js
Browse files Browse the repository at this point in the history
  • Loading branch information
zolaemil committed Jan 16, 2016
1 parent d93cae7 commit 6c41a18
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/dep_graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ var DepGraph = exports.DepGraph = function DepGraph() {
};
DepGraph.prototype = {
/**
* Add a node to the dependency graph. If a node with the specified
* node already exists, this method will do nothing.
* Add a node to the dependency graph. If a node already exists, this method will do nothing.
*/
addNode:function (node) {
if (!this.hasNode(node)) {
Expand All @@ -54,8 +53,7 @@ DepGraph.prototype = {
}
},
/**
* Remove a node from the dependency graph. If a node with the specified
* node does not exist, this method will do nothing.
* Remove a node from the dependency graph. If a node does not exist, this method will do nothing.
*/
removeNode:function (node) {
if (this.hasNode(node)) {
Expand Down

0 comments on commit 6c41a18

Please sign in to comment.