gitawego/cordova-screenshot — pull request #11 by mikowals (2014-06-11 06:58:32+00:00)
Title: fixed broken ios files

Fixed missing '-' in the most recent screenshot.m file. Tough to see this change on github because it shows the deleted line with the minus sign to show its removal . Without the dash, the code will not build and throws "expected identifier or '(' ".

Also added a 3rd argument in the .js file to match the new .m file. Otherwise there is an index out of range error ( specifically "webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: -[__NSCFArray objectAtIndex:]: index (2) beyond bounds (2)") caused by referencing an argument that doesn't exist.