diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-10-31 08:21:38 -0400 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-10-31 08:21:38 -0400 |
| commit | 02811010cf62f1b21a06780d1e470d04bb24c50f (patch) | |
| tree | 0d933789068aac11c810ed4bb169d14ab16c43c6 /plugins/com.phonegap.plugins.OrientationLock/www/orientationLock.js | |
| parent | bca561c1b3989d62a1fba829e0380c6fbf36caf5 (diff) | |
removed unecessary files from git
Diffstat (limited to 'plugins/com.phonegap.plugins.OrientationLock/www/orientationLock.js')
| -rw-r--r-- | plugins/com.phonegap.plugins.OrientationLock/www/orientationLock.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/plugins/com.phonegap.plugins.OrientationLock/www/orientationLock.js b/plugins/com.phonegap.plugins.OrientationLock/www/orientationLock.js deleted file mode 100644 index 099a5359..00000000 --- a/plugins/com.phonegap.plugins.OrientationLock/www/orientationLock.js +++ /dev/null @@ -1,18 +0,0 @@ -var OrientationLock = function() {} - -OrientationLock.prototype.lock = function(orientation, success, fail) { - return cordova.exec(success, fail, "OrientationLock", "lock", [orientation]) -} - -OrientationLock.prototype.unlock = function(success, fail) { - return cordova.exec(success, fail, "OrientationLock", "unlock", []) -} - -if ( ! window.plugins ) { - window.plugins = {} -} -if ( ! window.plugins.orientationLock ) { - window.plugins.orientationLock = new OrientationLock() -} - -module.exports = OrientationLock |
