diff options
Diffstat (limited to 'lib/webcals/xhr.js')
-rw-r--r-- | lib/webcals/xhr.js | 8 |
1 files changed, 4 insertions, 4 deletions
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')] )); |