ref was to Cordova with meant it didn't work for cordova >= 2.0
and wrapped with module to prevent window littering with the class
fixed cordova ref and converted to module
This repo has been deprecated and will not be actively maintained - no pull requests nor any other issues will be worked on. The previous source currently exists in the DEPRECATED branch, and may be removed at a future date.
Migration path, see: https://github.com/phonegap/phonegap-plugins/blob/master/README.md