Skip to content

Commit

Permalink
Minor fixes for the legacy release.
Browse files Browse the repository at this point in the history
  • Loading branch information
ppasupat committed Mar 27, 2023
1 parent 833a477 commit 732df89
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions html/miniwob/click-dialog-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
position: {my: 'center', at: 'center', of: document.getElementById('area')},
buttons: [
{ text: 'Cancel', click: function(e) {
var r = e.toElement.innerHTML === expectedButton ? 1.0 : -1.0;
var r = e.target.innerHTML === expectedButton ? 1.0 : -1.0;
core.endEpisode(r, r > 0);
} },
{ text: 'OK', click: function(e) {
var r = e.toElement.innerHTML === expectedButton ? 1.0 : -1.0;
var r = e.target.innerHTML === expectedButton ? 1.0 : -1.0;
core.endEpisode(r, r > 0);
} }
]
Expand Down
2 changes: 1 addition & 1 deletion python/miniwob/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import regex as re
import re


def strip_punctuation(uni):
Expand Down
1 change: 1 addition & 0 deletions python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Pillow>=4.0
selenium>=3.4.3
numpy>=1.16.0
pytest

0 comments on commit 732df89

Please sign in to comment.