Skip to content

Commit

Permalink
Remove no-longer used call_method method
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Feb 1, 2024
1 parent 53e1424 commit 397e03c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions R/live.R
Original file line number Diff line number Diff line change
Expand Up @@ -238,14 +238,6 @@ LiveHTML <- R6::R6Class(
private = list(
root_id = NULL,

call_method = function(css, code) {
nodes <- private$wait_for_selector(css)
for (node in nodes) {
private$call_node_method(node, code)
}
invisible(self)
},

wait_for_selector = function(css, timeout = 5) {
done <- now() + timeout
while(now() < done) {
Expand Down

0 comments on commit 397e03c

Please sign in to comment.