Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
rename a variable in a comment
  • Loading branch information
dzenanr committed May 28, 2013
1 parent 9de99b1 commit fe6af36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions view/board.dart
Expand Up @@ -14,7 +14,7 @@ class Board {
Memory memory;
Cell lastCellClicked;

var imageMap = new Map<String, ImageElement>();
var imageMap = new Map<String, ImageElement>();

Board(this.canvas, this.memory) {
context = canvas.getContext('2d');
Expand Down Expand Up @@ -65,7 +65,7 @@ class Board {
var imagePath = 'images/${cell.image}';
ImageElement image = new Element.tag('img');
image.src = imagePath;
//ImageElement imageElement = imageMap[cell.image];
//ImageElement image = imageMap[cell.image]; // if decomment, comment the above 3 lines
image.onLoad.listen((event) {
context.drawImageToRect(image, new Rect(x, y, boxSize, boxSize));
//context.drawImage(image, x, y);
Expand Down

0 comments on commit fe6af36

Please sign in to comment.