From 02811010cf62f1b21a06780d1e470d04bb24c50f Mon Sep 17 00:00:00 2001 From: Arjun Roychowdhury Date: Sat, 31 Oct 2015 08:21:38 -0400 Subject: removed unecessary files from git --- .../www/orientationLock.js | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 plugins/com.phonegap.plugins.OrientationLock/www/orientationLock.js (limited to 'plugins/com.phonegap.plugins.OrientationLock/www') 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 -- cgit v1.2.3