forcedotcom/SalesforceMobileSDK-Shared — pull request #47 by cwarden (2012-11-29 19:59:18+00:00)
Title: Make success callback to pgCloseCursor optional

For consistency with the native SmartStore plugin (on iOS), closing a
cursor without passing a success callback shouldn't fail.

I'm not sure if this is the best place to address this. Perhaps in `SFSmartStorePlugin.js`, empty callbacks should be passed to `cordova.exec` if they are not passed as parameters?

Also, other actions which don't require callbacks should be updated in the same manner.