Created
February 15, 2013 03:43
-
-
Save acidjazz/4958430 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cordova.define("cordova/plugin/AccountList", function(require, exports, module) { | |
var exec = require("cordova/exec"); | |
var AccountList = function () {}; | |
AccountList.prototype.get = function(params, success, fail) { | |
cordova.exec(success,fail,"AccountList", "get", params); | |
}; | |
/* | |
return cordova.exec( function(args) { | |
success(args); | |
}, function(args) { | |
fail(args); | |
}, 'AccountList', 'get', [params]); | |
}; | |
*/ | |
var AccounTList = new AccountList(); | |
module.exports = AccountList; | |
}); | |
if (!window.plugins) { | |
window.plugins = {}; | |
} | |
if (!window.plugins.AccountList) { | |
window.plugins.AccountList = cordova.require("cordova/plugin/AccountList"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment