apache/cordova-mobile-spec — pull request #18 by ldeluca (2013-05-23 16:22:54+00:00)
Title: CB-3481: Fixed the compass not supported issue

- added a new jasmine test to check if the compass hardware is supported
- added a custom matcher that trys to run a compass command, if a
COMPASS_NOT_SUPPORTED error is caught then the device doesn't support
compass.
- on failure of the hardware check, none of the other compass tests are
ran and a friendly message is shown to the user