Permalink
Browse files

Button -> Control variable name consistency

  • Loading branch information...
1 parent c3210e9 commit 11931d3455c5bf006642882a417022b3a1a1269f @chellmuth committed Jan 12, 2014
Showing with 8 additions and 8 deletions.
  1. +8 −8 web/hive.dart
View
@@ -34,17 +34,17 @@ void start() {
..onLoadEnd.listen((_) => setupSGF(fileReader.result, gamestate));
});
- var nextButton = querySelector("#control-forward-id");
- nextButton.onClick.listen((_) => showNextMove(gamestate));
+ var nextControl = querySelector("#control-forward-id");
+ nextControl.onClick.listen((_) => showNextMove(gamestate));
- var previousButton = querySelector("#control-rewind-id");
- previousButton.onClick.listen((_) => showPreviousMove(gamestate));
+ var previousControl= querySelector("#control-rewind-id");
+ previousControl.onClick.listen((_) => showPreviousMove(gamestate));
- var firstButton = querySelector("#control-start-id");
- firstButton.onClick.listen((_) => showFirstMove(gamestate));
+ var firstControl = querySelector("#control-start-id");
+ firstControl.onClick.listen((_) => showFirstMove(gamestate));
- var lastButton = querySelector("#control-end-id");
- lastButton.onClick.listen((_) => showLastMove(gamestate));
+ var lastControl = querySelector("#control-end-id");
+ lastControl.onClick.listen((_) => showLastMove(gamestate));
AnchorElement uploadLink = querySelector('#upload-anchor-id');
uploadLink.onClick.listen((_) {

0 comments on commit 11931d3

Please sign in to comment.