%PDF- %PDF-
Direktori : /home/lightco1/luminero.com.au/plugins/editors-xtd/pagebuilder/assets/js/ |
Current File : /home/lightco1/luminero.com.au/plugins/editors-xtd/pagebuilder/assets/js/common.js |
/** * @version $Id$ * @package JSN_PageBuilder * @author JoomlaShine Team <support@joomlashine.com> * @copyright Copyright (C) 2012 JoomlaShine.com. All Rights Reserved. * @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html * * Websites: http://www.joomlashine.com * Technical Support: Feedback - http://www.joomlashine.com/contact-us/get-support.html */ /** * Method to generate a random string * @param length * @returns {String} */ function randomString(length) { var result = ''; var chars = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' for (var i = length; i > 0; --i) result += chars[Math.round(Math.random() * (chars.length - 1))]; return result; }