b33eccea by ex

00

1 parent 8b1c99c4
......@@ -73,10 +73,18 @@ AppClient.prototype.getGPS = function (callbackName, callback, jsonStr) {
this.appObj.registerHandler('postGPS', function(data, responseCallback) {
var res = JSON.parse(data)
var key = res.testKey
layer.open({
content: data,
time: 2
});
layer.open({
content: JSON.stringify(key),
time: 10
time: 2
});
var key = res['testKey']
layer.open({
content: JSON.stringify(key),
time: 2
});
// log('ObjC called testJavascriptHandler with', data)
// var responseData = { 'Javascript Says':'Right back atcha!' }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!