aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJames Lal <james@lightsofapollo.com>2012-07-06 08:13:15 -0700
committerJames Lal <james@lightsofapollo.com>2012-07-06 08:13:15 -0700
commit20711f003e97a4a57d1e2838ba78a994c5faf6c0 (patch)
treeb060e5de05a9ffefc2ec836469c087fffa99dcef /lib
parentc8e85fe1e0a1d2e15df580068244324ff536a23a (diff)
downloadjsCalDAV-20711f003e97a4a57d1e2838ba78a994c5faf6c0.tar.gz
webcals -> caldav rename (yes, back again)
Diffstat (limited to 'lib')
-rw-r--r--lib/caldav/caldav.js (renamed from lib/webcals/webcals.js)2
-rw-r--r--lib/caldav/ical.js (renamed from lib/webcals/ical.js)6
-rw-r--r--lib/caldav/index.js (renamed from lib/webcals/index.js)6
-rw-r--r--lib/caldav/request/abstract.js (renamed from lib/webcals/request/abstract.js)6
-rw-r--r--lib/caldav/request/calendar_query.js (renamed from lib/webcals/request/calendar_query.js)6
-rw-r--r--lib/caldav/request/index.js (renamed from lib/webcals/request/index.js)6
-rw-r--r--lib/caldav/request/propfind.js (renamed from lib/webcals/request/propfind.js)6
-rw-r--r--lib/caldav/resource_root.js (renamed from lib/webcals/resource_root.js)6
-rw-r--r--lib/caldav/responder.js (renamed from lib/webcals/responder.js)7
-rw-r--r--lib/caldav/sax.js (renamed from lib/webcals/sax.js)6
-rw-r--r--lib/caldav/sax/base.js (renamed from lib/webcals/sax/base.js)6
-rw-r--r--lib/caldav/sax/dav_response.js (renamed from lib/webcals/sax/dav_response.js)6
-rw-r--r--lib/caldav/sax/index.js (renamed from lib/webcals/sax/index.js)6
-rw-r--r--lib/caldav/template.js (renamed from lib/webcals/template.js)6
-rw-r--r--lib/caldav/templates/calendar_data.js (renamed from lib/webcals/templates/calendar_data.js)6
-rw-r--r--lib/caldav/templates/calendar_filter.js (renamed from lib/webcals/templates/calendar_filter.js)6
-rw-r--r--lib/caldav/templates/index.js (renamed from lib/webcals/templates/index.js)6
-rw-r--r--lib/caldav/xhr.js (renamed from lib/webcals/xhr.js)10
18 files changed, 54 insertions, 55 deletions
diff --git a/lib/webcals/webcals.js b/lib/caldav/caldav.js
index 5a5d971..065b815 100644
--- a/lib/webcals/webcals.js
+++ b/lib/caldav/caldav.js
@@ -90,7 +90,7 @@
* be whatever your global namespace is.
*/
if (this.window)
- window.Webcals = Module;
+ window.Caldav = Module;
}(
this,
diff --git a/lib/webcals/ical.js b/lib/caldav/ical.js
index 797e40b..a7da546 100644
--- a/lib/webcals/ical.js
+++ b/lib/caldav/ical.js
@@ -132,8 +132,8 @@
}.apply(
this,
- (this.Webcals) ?
- [Webcals('ical'), Webcals] :
- [module, require('./webcals')]
+ (this.Caldav) ?
+ [Caldav('ical'), Caldav] :
+ [module, require('./caldav')]
));
diff --git a/lib/webcals/index.js b/lib/caldav/index.js
index 4f592cd..b54a9ac 100644
--- a/lib/webcals/index.js
+++ b/lib/caldav/index.js
@@ -12,7 +12,7 @@
}.apply(
this,
- (this.Webcals) ?
- [Webcals, Webcals] :
- [module, require('./webcals')]
+ (this.Caldav) ?
+ [Caldav, Caldav] :
+ [module, require('./caldav')]
));
diff --git a/lib/webcals/request/abstract.js b/lib/caldav/request/abstract.js
index de159b6..04d2128 100644
--- a/lib/webcals/request/abstract.js
+++ b/lib/caldav/request/abstract.js
@@ -86,7 +86,7 @@
}.apply(
this,
- (this.Webcals) ?
- [Webcals('request/abstract'), Webcals] :
- [module, require('../webcals')]
+ (this.Caldav) ?
+ [Caldav('request/abstract'), Caldav] :
+ [module, require('../caldav')]
));
diff --git a/lib/webcals/request/calendar_query.js b/lib/caldav/request/calendar_query.js
index b9a350d..7b64d3f 100644
--- a/lib/webcals/request/calendar_query.js
+++ b/lib/caldav/request/calendar_query.js
@@ -51,7 +51,7 @@
}.apply(
this,
- (this.Webcals) ?
- [Webcals('request/calendar_query'), Webcals] :
- [module, require('../webcals')]
+ (this.Caldav) ?
+ [Caldav('request/calendar_query'), Caldav] :
+ [module, require('../caldav')]
));
diff --git a/lib/webcals/request/index.js b/lib/caldav/request/index.js
index 595f50e..fc49491 100644
--- a/lib/webcals/request/index.js
+++ b/lib/caldav/request/index.js
@@ -8,7 +8,7 @@
}.apply(
this,
- (this.Webcals) ?
- [Webcals('request'), Webcals] :
- [module, require('../webcals')]
+ (this.Caldav) ?
+ [Caldav('request'), Caldav] :
+ [module, require('../caldav')]
));
diff --git a/lib/webcals/request/propfind.js b/lib/caldav/request/propfind.js
index a4edd16..7202ea5 100644
--- a/lib/webcals/request/propfind.js
+++ b/lib/caldav/request/propfind.js
@@ -63,7 +63,7 @@
}.apply(
this,
- (this.Webcals) ?
- [Webcals('request/propfind'), Webcals] :
- [module, require('../webcals')]
+ (this.Caldav) ?
+ [Caldav('request/propfind'), Caldav] :
+ [module, require('../caldav')]
));
diff --git a/lib/webcals/resource_root.js b/lib/caldav/resource_root.js
index 5f09eff..0cff9b7 100644
--- a/lib/webcals/resource_root.js
+++ b/lib/caldav/resource_root.js
@@ -8,7 +8,7 @@
}.apply(
this,
- (this.Webcals) ?
- [Webcals('resource_root'), Webcals] :
- [module, require('./webcals')]
+ (this.Caldav) ?
+ [Caldav('resource_root'), Caldav] :
+ [module, require('./caldav')]
));
diff --git a/lib/webcals/responder.js b/lib/caldav/responder.js
index 469dfcb..6ba41c4 100644
--- a/lib/webcals/responder.js
+++ b/lib/caldav/responder.js
@@ -2,7 +2,6 @@
@namespace
*/
(function(module, ns) {
-
/**
* Constructor
*
@@ -203,7 +202,7 @@
}.apply(
this,
- (this.Webcals) ?
- [Webcals('responder'), Webcals] :
- [module, require('./webcals')]
+ (this.Caldav) ?
+ [Caldav('responder'), Caldav] :
+ [module, require('./caldav')]
));
diff --git a/lib/webcals/sax.js b/lib/caldav/sax.js
index 8a24ecf..db3a486 100644
--- a/lib/webcals/sax.js
+++ b/lib/caldav/sax.js
@@ -214,7 +214,7 @@
}.apply(
this,
- (this.Webcals) ?
- [Webcals('sax'), Webcals] :
- [module, require('./webcals')]
+ (this.Caldav) ?
+ [Caldav('sax'), Caldav] :
+ [module, require('./caldav')]
));
diff --git a/lib/webcals/sax/base.js b/lib/caldav/sax/base.js
index c62981f..a823aad 100644
--- a/lib/webcals/sax/base.js
+++ b/lib/caldav/sax/base.js
@@ -67,7 +67,7 @@
}.apply(
this,
- (this.Webcals) ?
- [Webcals('sax/base'), Webcals] :
- [module, require('../webcals')]
+ (this.Caldav) ?
+ [Caldav('sax/base'), Caldav] :
+ [module, require('../caldav')]
));
diff --git a/lib/webcals/sax/dav_response.js b/lib/caldav/sax/dav_response.js
index 26d3453..b2556a7 100644
--- a/lib/webcals/sax/dav_response.js
+++ b/lib/caldav/sax/dav_response.js
@@ -202,7 +202,7 @@
}.apply(
this,
- (this.Webcals) ?
- [Webcals('sax/dav_response'), Webcals] :
- [module, require('../webcals')]
+ (this.Caldav) ?
+ [Caldav('sax/dav_response'), Caldav] :
+ [module, require('../caldav')]
));
diff --git a/lib/webcals/sax/index.js b/lib/caldav/sax/index.js
index 7efff20..2ba2f16 100644
--- a/lib/webcals/sax/index.js
+++ b/lib/caldav/sax/index.js
@@ -7,8 +7,8 @@
}.apply(
this,
- (this.Webcals) ?
- [Webcals('sax'), Webcals] :
- [module, require('../webcals')]
+ (this.Caldav) ?
+ [Caldav('sax'), Caldav] :
+ [module, require('../caldav')]
));
diff --git a/lib/webcals/template.js b/lib/caldav/template.js
index 67205d4..2916ce6 100644
--- a/lib/webcals/template.js
+++ b/lib/caldav/template.js
@@ -114,7 +114,7 @@
}.apply(
this,
- (this.Webcals) ?
- [Webcals('template'), Webcals] :
- [module, require('./webcals')]
+ (this.Caldav) ?
+ [Caldav('template'), Caldav] :
+ [module, require('./caldav')]
));
diff --git a/lib/webcals/templates/calendar_data.js b/lib/caldav/templates/calendar_data.js
index a652303..2c24569 100644
--- a/lib/webcals/templates/calendar_data.js
+++ b/lib/caldav/templates/calendar_data.js
@@ -101,7 +101,7 @@
}.apply(
this,
- (this.Webcals) ?
- [Webcals('templates/calendar_data'), Webcals] :
- [module, require('../webcals')]
+ (this.Caldav) ?
+ [Caldav('templates/calendar_data'), Caldav] :
+ [module, require('../caldav')]
));
diff --git a/lib/webcals/templates/calendar_filter.js b/lib/caldav/templates/calendar_filter.js
index 05bd742..aebd9fe 100644
--- a/lib/webcals/templates/calendar_filter.js
+++ b/lib/caldav/templates/calendar_filter.js
@@ -20,8 +20,8 @@
}.apply(
this,
- (this.Webcals) ?
- [Webcals('templates/calendar_filter'), Webcals] :
- [module, require('../webcals')]
+ (this.Caldav) ?
+ [Caldav('templates/calendar_filter'), Caldav] :
+ [module, require('../caldav')]
));
diff --git a/lib/webcals/templates/index.js b/lib/caldav/templates/index.js
index f3804e4..4e06cfd 100644
--- a/lib/webcals/templates/index.js
+++ b/lib/caldav/templates/index.js
@@ -7,7 +7,7 @@
}.apply(
this,
- (this.Webcals) ?
- [Webcals('templates'), Webcals] :
- [module, require('../webcals')]
+ (this.Caldav) ?
+ [Caldav('templates'), Caldav] :
+ [module, require('../caldav')]
));
diff --git a/lib/webcals/xhr.js b/lib/caldav/xhr.js
index fb925f0..84fb18d 100644
--- a/lib/webcals/xhr.js
+++ b/lib/caldav/xhr.js
@@ -19,7 +19,7 @@
* See each property for its default value.
*
* @class
- * @name Webcals.Xhr
+ * @name Caldav.Xhr
* @param {Object} options options for xhr.
* @param {String} [options.method="GET"] any HTTP verb like 'GET' or 'POST'.
* @param {Boolean} [options.async] false will indicate
@@ -41,7 +41,7 @@
}
Xhr.prototype = {
- /** @scope Webcals.Xhr.prototype */
+ /** @scope Caldav.Xhr.prototype */
xhrClass: Native,
method: 'GET',
@@ -112,7 +112,7 @@
}.apply(
this,
- (this.Webcals) ?
- [Webcals('xhr'), Webcals] :
- [module, require('./webcals')]
+ (this.Caldav) ?
+ [Caldav('xhr'), Caldav] :
+ [module, require('./caldav')]
));