1 /* 2 * Copyright ©2012 SARA bv, The Netherlands 3 * 4 * This file is part of js-webdav-client. 5 * 6 * js-webdav-client is free software: you can redistribute it and/or modify 7 * it under the terms of the GNU Lesser General Public License as published 8 * by the Free Software Foundation, either version 3 of the License, or 9 * (at your option) any later version. 10 * 11 * js-webdav-client is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public License 17 * along with js-webdav-client. If not, see <http://www.gnu.org/licenses/>. 18 */ 19 "use strict"; 20 21 /** 22 * A webDAV client library for JavaScript 23 * @author Niek Bosch 24 */ 25 26 // Create the namespace if that's not done yet 27 if (nl === undefined) { 28 /** @namespace */ 29 var nl = {}; 30 } 31 if (nl.sara === undefined) { 32 /** @namespace */ 33 nl.sara = {}; 34 } 35 if (nl.sara.webdav === undefined) { 36 /** @namespace The entire library is in this namespace. */ 37 nl.sara.webdav = {}; 38 } 39 if (nl.sara.webdav.codec === undefined) { 40 /** @namespace Holds all the standard codecs for converting properties */ 41 nl.sara.webdav.codec = {}; 42 } 43