sproutcore/sproutcore — pull request #849 by krotscheck (2012-10-09 18:20:23+00:00)
Title: Added platform detection for the Apache Cordova (formerly phonegap)

This pull request adds autodetection of the Apache Cordova browser-to-mobile-runtime bridge. It's fairly simple detection: Does the cordova object exist or not.

I opted not to build this out into a full framework because cordova needs additional configuration independent of sproutcore to work properly. There are different library versions for different platforms, which need to be included independently for each build target. For example, an android build needs to include the android cordova lib, etc etc.

There's a small unrelated part of this pull request, in that I've added .project and .settings to the .gitignore file. These are eclipse-specific files/folders used for the IDE to save its settings, and should be ignored (much like .DS_Store, etc).