Skip to content

Commit f02e1fe

Browse files
committed
updating project structure
1 parent e292f80 commit f02e1fe

File tree

5 files changed

+21
-358
lines changed

5 files changed

+21
-358
lines changed

demo/demo.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ var generateRandom = function (width, height, wallFrequency) {
2323

2424
var isWall = Math.floor(Math.random()*(1/wallFrequency));
2525
if(isWall == 0) {
26-
nodeRow.push(GraphNodeType.WALL);
26+
nodeRow.push(Graph.GraphNodeType.WALL);
2727
}
2828
else {
29-
nodeRow.push(GraphNodeType.OPEN);
29+
nodeRow.push(Graph.GraphNodeType.OPEN);
3030
}
3131
}
3232
nodes.push(nodeRow);
@@ -127,7 +127,7 @@ GraphSearch.prototype.initialize = function() {
127127

128128
var isWall = Math.floor(Math.random()*(1/self.opts.wallFrequency));
129129
if(isWall == 0) {
130-
nodeRow.push(GraphNodeType.WALL);
130+
nodeRow.push(Graph.GraphNodeType.WALL);
131131
$cell.addClass(css.wall);
132132
}
133133
else {

dist/astar-concat.js

Lines changed: 0 additions & 337 deletions
This file was deleted.

dist/astar-min.js

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)