Skip to content

Commit

Permalink
fix typo; evenbusUrl => eventBusURL
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger committed May 25, 2018
1 parent eb6ee40 commit bd217ee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scratch/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ let ScratchExtensions: any;
};

var crypt = new JSEncrypt(512);
eb = new EventBus(urlParams.evenbusUrl);
eb = new EventBus(urlParams.eventBusURL);
eb.enableReconnect(true);
eb.onopen = function() {
eb.registerHandler("mcs.events", function (error, message) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
*/
public class LoginCommand implements Command {

private static final String URL_PREFIX = "http://scratchx.org/?url=%s&code=%s&evenbusUrl=%s";
private static final String URL_PREFIX = "http://scratchx.org/?url=%s&code=%s&eventBusURL=%s";

private String scratchJSExtensionURL = "http://localhost:7070/minecraft.scratchx.js";
private String eventBusURL = "http://localhost:8080/eventbus";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private static void startWebDriver() {
js = (JavascriptExecutor) webDriver;
awaitWD = new WebDriverWait(webDriver, 3).pollingEvery(Duration.ofMillis(100));

webDriver.get("http://localhost:9090/index.html?evenbusUrl=http%3A%2F%2Flocalhost%3A8080%2Feventbus");
webDriver.get("http://localhost:9090/index.html?eventBusURL=http%3A%2F%2Flocalhost%3A8080%2Feventbus");
}

@AfterClass
Expand Down

0 comments on commit bd217ee

Please sign in to comment.