diff --git a/plugin.xml b/plugin.xml index 6a9bb3b..373ac56 100644 --- a/plugin.xml +++ b/plugin.xml @@ -17,12 +17,12 @@ - - - + + + diff --git a/www/ToNative.js b/www/ToNative.js index be6b7c6..2ba303d 100644 --- a/www/ToNative.js +++ b/www/ToNative.js @@ -45,7 +45,7 @@ function onInitializeFailed(error) { message = prefix + error + suffix; } - throw new Error(message); + console.log(message); } function defaultOnError(error) { @@ -55,7 +55,7 @@ function defaultOnError(error) { ToNative.errorHandler = function (handler) { return handler ? handler : defaultOnError; -} +}; function onNativeEventRaised(message) { /* TODO: No startupMarkup event: