Skip to content

Instantly share code, notes, and snippets.

@acidjazz
Created February 15, 2013 03:43
Show Gist options
  • Save acidjazz/4958430 to your computer and use it in GitHub Desktop.
Save acidjazz/4958430 to your computer and use it in GitHub Desktop.
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