aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJames Lal <james@lightsofapollo.com>2012-06-19 14:06:11 -0700
committerJames Lal <james@lightsofapollo.com>2012-06-19 14:06:11 -0700
commitfc8fc29ffbd335bfbcccee06f168e6c0408a20a1 (patch)
treea18adeeb8bc5862960c580ccf6b0004288248694 /lib
parent727c3089508b752ade1f5cc52793cfc65ca6b8c9 (diff)
downloadjsCalDAV-fc8fc29ffbd335bfbcccee06f168e6c0408a20a1.tar.gz
Rename CalDav to Webcals
Diffstat (limited to 'lib')
-rw-r--r--lib/webcals/ics.js4
-rw-r--r--lib/webcals/responder.js4
-rw-r--r--lib/webcals/webcals.js2
-rw-r--r--lib/webcals/xhr.js8
4 files changed, 9 insertions, 9 deletions
diff --git a/lib/webcals/ics.js b/lib/webcals/ics.js
index 2397239..91f549b 100644
--- a/lib/webcals/ics.js
+++ b/lib/webcals/ics.js
@@ -134,7 +134,7 @@
}.apply(
this,
- (this.CalDav) ?
- [CalDav('ics'), CalDav] :
+ (this.Webcals) ?
+ [Webcals('ics'), Webcals] :
[module, require('./webcals')]
));
diff --git a/lib/webcals/responder.js b/lib/webcals/responder.js
index 9fd7ed9..469dfcb 100644
--- a/lib/webcals/responder.js
+++ b/lib/webcals/responder.js
@@ -203,7 +203,7 @@
}.apply(
this,
- (this.CalDav) ?
- [CalDav('responder'), CalDav] :
+ (this.Webcals) ?
+ [Webcals('responder'), Webcals] :
[module, require('./webcals')]
));
diff --git a/lib/webcals/webcals.js b/lib/webcals/webcals.js
index cf81358..5a5d971 100644
--- a/lib/webcals/webcals.js
+++ b/lib/webcals/webcals.js
@@ -90,7 +90,7 @@
* be whatever your global namespace is.
*/
if (this.window)
- window.CalDav = Module;
+ window.Webcals = Module;
}(
this,
diff --git a/lib/webcals/xhr.js b/lib/webcals/xhr.js
index adec5a6..f049c3f 100644
--- a/lib/webcals/xhr.js
+++ b/lib/webcals/xhr.js
@@ -19,7 +19,7 @@
* See each property for its default value.
*
* @class
- * @name CalDav.Xhr
+ * @name Webcals.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 CalDav.Xhr.prototype */
+ /** @scope Webcals.Xhr.prototype */
xhrClass: Native,
method: 'GET',
@@ -105,7 +105,7 @@
}.apply(
this,
- (this.CalDav) ?
- [CalDav('xhr'), CalDav] :
+ (this.Webcals) ?
+ [Webcals('xhr'), Webcals] :
[module, require('./webcals')]
));