diff --git a/BlackHawkExample/BlackHawkExample.xcodeproj/project.xcworkspace/xcuserdata/JohnLui.xcuserdatad/UserInterfaceState.xcuserstate b/BlackHawkExample/BlackHawkExample.xcodeproj/project.xcworkspace/xcuserdata/JohnLui.xcuserdatad/UserInterfaceState.xcuserstate index 1f0a1bf..3123fb1 100644 Binary files a/BlackHawkExample/BlackHawkExample.xcodeproj/project.xcworkspace/xcuserdata/JohnLui.xcuserdatad/UserInterfaceState.xcuserstate and b/BlackHawkExample/BlackHawkExample.xcodeproj/project.xcworkspace/xcuserdata/JohnLui.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/www/plugins/Console.js b/www/plugins/Console.js index 042654d..b6005b1 100644 --- a/www/plugins/Console.js +++ b/www/plugins/Console.js @@ -1,6 +1,5 @@ console = { log: function (string) { - Queue.push(Task.init(Queue.length)); - window.webkit.messageHandlers.BlackHawk.postMessage({className: 'Console', functionName: 'log', taskId: Queue.length - 1, data: string}); + window.webkit.messageHandlers.BlackHawk.postMessage({className: 'Console', functionName: 'log', data: string}); } } \ No newline at end of file diff --git a/www/plugins/Vibration.js b/www/plugins/Vibration.js index 60fa124..633a704 100644 --- a/www/plugins/Vibration.js +++ b/www/plugins/Vibration.js @@ -1,3 +1,3 @@ navigator.vibrate = function() { - window.webkit.messageHandlers.BlackHawk.postMessage({className: 'Vibration', functionName: 'vibrate', taskId: 0}); + window.webkit.messageHandlers.BlackHawk.postMessage({className: 'Vibration', functionName: 'vibrate'}); } \ No newline at end of file