1 /*jslint 
  2 browser: true,
  3 nomen: false,
  4 debug: true,
  5 forin: true,
  6 regexp: false,
  7 undef: true,
  8 white: false,
  9 onevar: false 
 10  */
 11 
 12 /**
 13  * SPAZCORE
 14  * version 0.1.1
 15  * 2009-08-06
 16  * 
 17  * License
 18  * 
 19  * Copyright (c) 2008-2009, Edward Finkler, Funkatron Productions
 20  * 
 21  * All rights reserved.
 22  * 
 23  * Redistribution and use in source and binary forms, with or without
 24  * modification, are permitted provided that the following conditions are met:
 25  * 
 26  *         Redistributions of source code must retain the above copyright
 27  *         notice, this list of conditions and the following disclaimer.
 28  * 
 29  *         Redistributions in binary form must reproduce the above
 30  *         copyright notice, this list of conditions and the following
 31  *         disclaimer in the documentation and/or other materials provided
 32  *         with the distribution.
 33  * 
 34  *         Neither the name of Edward Finkler, Funkatron Productions nor
 35  *         the names of its contributors may be used to endorse or promote
 36  *         products derived from this software without specific prior written
 37  *         permission.
 38  * 
 39  * 
 40  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 41  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 42  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 43  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
 44  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 45  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 46  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
 47  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 48  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 49  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 50  * 
 51  * 
 52  * SpazCore includes code from other software projects. Their licenses follow:
 53  * 
 54  * date.js
 55  * @copyright: Copyright (c) 2006-2008, Coolite Inc. (http://www.coolite.com/). All rights reserved.
 56  * @license: Licensed under The MIT License. See license.txt and http://www.datejs.com/license/.
 57  * 
 58  * webtoolkit.info (hash libs, trim funcs, utf8 encoder/decoder)
 59  * http://www.webtoolkit.info/
 60  * As long as you leave the copyright notice of the original script, or link
 61  * back to this website, you can use any of the content published on this
 62  * website free of charge for any use: commercial or noncommercial.
 63  */
 64  
 65 /**
 66  * @namespace 
 67  */
 68 var sc = {};
 69 
 70 /**
 71  * @namespace
 72  */
 73 sc.app = {};
 74 
 75 /**
 76  * @namespace
 77  */
 78 sc.helpers = {};
 79 
 80 /**
 81  * dump level for limiting what gets dumped to console 
 82  */
 83 sc.dumplevel = 1;
 84 
 85 /**
 86  * method to set dump level 
 87  */
 88 sc.setDumpLevel = function(level) {
 89 	sc.dumplevel = parseInt(level, 10);
 90 };
 91 
 92 /**
 93  * @namespace helper shortcuts 
 94  * this lets us write "sch.method" instead of "sc.helpers.method"
 95  * 
 96  */
 97 var sch = sc.helpers;
 98 
 99 
100 sc.events = {};
101 
102 
103 
104 
105 
106 /**
107  * Build the helpers
108  * @depends ../helpers/datetime.js 
109  * @depends ../helpers/event.js 
110  * @depends ../helpers/javascript.js 
111  * @depends ../helpers/json.js 
112  * @depends ../helpers/location.js 
113  * @depends ../helpers/string.js 
114  * @depends ../helpers/sys.js 
115  * @depends ../helpers/view.js 
116  * @depends ../helpers/xml.js 
117  * 
118  * Build the libs
119  * @depends spazcron.js
120  * @depends spazlocker.js
121  * @depends spazphotomailer.js
122  * @depends spazpingfm.js
123  * @depends spazprefs.js
124  * @depends spazshorttext.js
125  * @depends spazshorturl.js
126  * @depends spaztemplate.js
127  * @depends spaztimeline.js
128  * @depends spaztwit.js
129  */
130