diff src/sceditor.js @ 24:80a86fb8f2b7

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 09 Aug 2022 22:49:59 -0600
parents c2a85b2ec677
children 80bf0adc9efd
line wrap: on
line diff
--- a/src/sceditor.js	Tue Aug 09 13:25:17 2022 -0600
+++ b/src/sceditor.js	Tue Aug 09 22:49:59 2022 -0600
@@ -4506,7 +4506,7 @@
 				pluginManager.register(plugin.trim());
 			});
 			if ('init' in format) {
-				format.init.call(base);
+				format.init(base);
 			}
 
 			// create the editor
@@ -4536,7 +4536,7 @@
 				// TODO: use editor doc and window?
 				pluginManager.call('ready');
 				if ('onReady' in format) {
-					format.onReady.call(base);
+					format.onReady(base);
 				}
 			};
 			onEvent(globalWin, 'load', loaded);