diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/webcals/ics.js | 4 | ||||
-rw-r--r-- | lib/webcals/responder.js | 4 | ||||
-rw-r--r-- | lib/webcals/webcals.js | 2 | ||||
-rw-r--r-- | lib/webcals/xhr.js | 8 |
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')] )); |