Software: Apache. PHP/5.5.15 uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 SYSTEM Safe-mode: OFF (not secure) E:\xampp\xampp\htdocs\chat\src\ drwxrwxrwx |
Viewing file: candy.js (1.36 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | /** File: candy.js * Candy - Chats are not dead yet. * * Authors: * - Patrick Stadler <patrick.stadler@gmail.com> * - Michael Weibel <michael.weibel@gmail.com> * * Copyright: * (c) 2011 Amiado Group AG. All rights reserved. */ /*jslint regexp: true, browser: true, confusion: true, sloppy: true, white: true, nomen: true, plusplus: true, maxerr: 50, indent: 4 */ /*global jQuery: true, MD5: true, escape: true, Mustache: true, console: true, Strophe: true, $iq: true, $pres: true */ /** Class: Candy * Candy base class for initalizing the view and the core * * Parameters: * (Candy) self - itself * (jQuery) $ - jQuery */ var Candy = (function(self, $) { /** Object: about * About candy * * Contains: * (String) name - Candy * (Float) version - Candy version */ self.about = { name: 'Candy', version: '1.0.9' }; /** Function: init * Init view & core * * Parameters: * (String) service - URL to the BOSH interface * (Object) options - Options for candy * * Options: * (Boolean) debug - Debug (Default: false) * (Array|Boolean) autojoin - Autojoin these channels. When boolean true, do not autojoin, wait if the server sends something. */ self.init = function(service, options) { self.View.init($('#candy'), options.view); self.Core.init(service, options.core); }; return self; }(Candy || {}, jQuery)); |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0312 ]-- |