diff options
author | James Lal <james@lightsofapollo.com> | 2012-07-08 12:46:32 -0700 |
---|---|---|
committer | James Lal <james@lightsofapollo.com> | 2012-07-08 12:46:32 -0700 |
commit | 29d9365f7f0c63630d798031bb9f40e01edd0fc7 (patch) | |
tree | 7f95b41454bc33a43c1e1cd89233f71ad409c4e7 /scripts | |
parent | 055988cbf2d8609963369494304b6b2a70e16f6a (diff) | |
download | jsCalDAV-29d9365f7f0c63630d798031bb9f40e01edd0fc7.tar.gz |
removed unused stuff in connect
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/connect | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/scripts/connect b/scripts/connect index bab6271..3c0f08a 100755 --- a/scripts/connect +++ b/scripts/connect @@ -60,30 +60,6 @@ function getCalendarDetails(caluri) { } -function findProp(uri) { - return new Propfind(con, { - url: uri || config.uri - }); -} - -function getProp(propName, obj, single) { - var key, url, level, results = {}; - - for (url in obj) { - level = obj[url]; - for (key in level) { - if (key === propName && level[key].status) { - results[url] = level[key].value; - if (single) { - return results[url]; - } - } - } - } - - return results; -} - var home = new CalendarHome(con, { url: config.uri }); |