updated powermanager iOS plugin to work with latest cordova 2.1.0
Previous version didn't seem to work, now using cordova.addConstructor.
plus: clean trailing spaces, missing semicolons, idiomaticjs style, safer check on window.plugins
urgh, github editor keeps adding trailing spaces and off stuff, how the hell do I add a commit to a pull request heh
formatting tweaks on powermanager.js
trailing spaces, idiomaticjs, saver check on window.plugins
deleted trailing spaces
moved inside a closure, general code cleanup
Bit too big a change to an important plugin.
could ios dimming support be added to this plugin? currently the screen stays at full brightness.
edit: specify ios dimming
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