From 6954fbee51b6988d4f6b2d3059233cc942500d91 Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Thu, 6 Jul 2023 12:01:39 +0100 Subject: [PATCH] Fix comment missing from previous commit 6c7c21a87bdb0d8a00df1c14eea18912164e0b57 --- plugins/tiddlywiki/jasmine/jasmine-plugin.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/tiddlywiki/jasmine/jasmine-plugin.js b/plugins/tiddlywiki/jasmine/jasmine-plugin.js index fb851865b..8dbf6568e 100644 --- a/plugins/tiddlywiki/jasmine/jasmine-plugin.js +++ b/plugins/tiddlywiki/jasmine/jasmine-plugin.js @@ -94,6 +94,7 @@ exports.runTests = function(callback,specFilter) { if($tw.browser) { window.jasmineRequire = jasmineCore; $tw.modules.execute("$:/plugins/tiddlywiki/jasmine/jasmine-core/jasmine-core/jasmine-html.js"); + // Prevent jasmine-core/boot.js from installing its own onload handler. We'll execute it explicitly when everything is ready var previousOnloadHandler = window.onload; window.onload = function() {}; $tw.modules.execute("$:/plugins/tiddlywiki/jasmine/jasmine-core/jasmine-core/boot.js");