Creating an evaluateJavascript branch

This commit is contained in:
Joe Bowser
2016-03-09 10:35:09 -08:00
parent 0ee672d2b0
commit bb96bb9a88
5 changed files with 45 additions and 8 deletions
+2 -1
View File
@@ -51,7 +51,8 @@ var cordova = require('cordova'),
// For the ONLINE_EVENT to be viable, it would need to intercept all event
// listeners (both through addEventListener and window.ononline) as well
// as set the navigator property itself.
ONLINE_EVENT: 2
ONLINE_EVENT: 2,
EVAL_BRIDGE: 3
},
jsToNativeBridgeMode, // Set lazily.
nativeToJsBridgeMode = nativeToJsModes.ONLINE_EVENT,