diff options
author | Struan Donald <struan@exo.org.uk> | 2014-10-03 15:07:08 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2015-08-28 14:27:15 +0100 |
commit | a69d425c0e5c004145ac1ab70e2f7f9fc329b54c (patch) | |
tree | 8eb7ff0ff7aaa0fce8bc7214ec6e15b694fddbdc /src/js/softkeyboard.js | |
parent | 8fd15b58733c51d7f001f9eac66b7d03830ec0b4 (diff) |
update Android to Cordova 3.6
Required due to security issue
Remove Android directory as no longer required, move src -> www to match
standard layout, update .gitignore to avoid including the standard
platform files, update README based on Steve's zurich one
Diffstat (limited to 'src/js/softkeyboard.js')
-rw-r--r-- | src/js/softkeyboard.js | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/js/softkeyboard.js b/src/js/softkeyboard.js deleted file mode 100644 index 9b71d46..0000000 --- a/src/js/softkeyboard.js +++ /dev/null @@ -1,34 +0,0 @@ -(function( cordova ) { - - function SoftKeyBoard() {} - - SoftKeyBoard.prototype.show = function(win, fail) { - return cordova.exec( - function (args) { if(win !== undefined) { win(args); } }, - function (args) { if(fail !== undefined) { fail(args); } }, - "SoftKeyBoard", "show", []); - }; - - SoftKeyBoard.prototype.hide = function(win, fail) { - return cordova.exec( - function (args) { if(win !== undefined) { win(args); } }, - function (args) { if(fail !== undefined) { fail(args); } }, - "SoftKeyBoard", "hide", []); - }; - - SoftKeyBoard.prototype.isShowing = function(win, fail) { - return cordova.exec( - function (args) { if(win !== undefined) { win(args); } }, - function (args) { if(fail !== undefined) { fail(args); } }, - "SoftKeyBoard", "isShowing", []); - }; - - if(!window.plugins) { - window.plugins = {}; - } - - if (!window.plugins.SoftKeyBoard) { - window.plugins.SoftKeyBoard = new SoftKeyBoard(); - } - -})( window.cordova ); |