win32: fixing rhosimulator JS bridge
@@ -1073,14 +1073,7 @@ var Rho = Rho || (function ($) {
addBridge(rhoPlatform.id.RHOSIMULATOR, function() {
return {
- apiCall: function (cmdText, async, resultHandler) {
- var nativeApiResult = {};
-
- if (window[RHO_API_TAG] && 'function' == typeof window[RHO_API_TAG]['apiCall']) {
- nativeApiResult = window[RHO_API_TAG].apiCall(cmdText, async);
- }
- resultHandler(JSON.parse(nativeApiResult));
- }
+ apiCall: ajaxBridgeApiCall
};
});
