You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-08-13 22:12:50 +02:00
Removed debug code
This commit is contained in:
@@ -84,7 +84,7 @@ class NoteBodyViewer extends Component {
|
|||||||
injectedJs.push(shim.injectedJs('webviewLib'));
|
injectedJs.push(shim.injectedJs('webviewLib'));
|
||||||
// Note that this postMessage function accepts two arguments, for compatibility with the desktop version, but
|
// Note that this postMessage function accepts two arguments, for compatibility with the desktop version, but
|
||||||
// the ReactNativeWebView actually supports only one, so the second arg is ignored (and currently not needed for the mobile app).
|
// the ReactNativeWebView actually supports only one, so the second arg is ignored (and currently not needed for the mobile app).
|
||||||
injectedJs.push('window.joplinPostMessage_ = (msg, args) => { console.info("AAAAAAAAAAAAAAAAA"); return window.ReactNativeWebView.postMessage(msg); };');
|
injectedJs.push('window.joplinPostMessage_ = (msg, args) => { return window.ReactNativeWebView.postMessage(msg); };');
|
||||||
injectedJs.push('webviewLib.initialize({ postMessage: msg => { return window.ReactNativeWebView.postMessage(msg); } });');
|
injectedJs.push('webviewLib.initialize({ postMessage: msg => { return window.ReactNativeWebView.postMessage(msg); } });');
|
||||||
injectedJs.push(`
|
injectedJs.push(`
|
||||||
const readyStateCheckInterval = setInterval(function() {
|
const readyStateCheckInterval = setInterval(function() {
|
||||||
|
Reference in New Issue
Block a user