403Webshell
Server IP : 85.158.181.41  /  Your IP : 216.73.217.12
Web Server : Apache
System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64
User : moncbefd ( 1024)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/moncbefd/www.moneta.at/themes/Honeygrid_preview/javascripts/source/libs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/moncbefd/www.moneta.at/themes/Honeygrid_preview/javascripts/source/libs/interaction.js
/* --------------------------------------------------------------
 interaction.js 2016-02-23
 Gambio GmbH
 http://www.gambio.de
 Copyright (c) 2016 Gambio GmbH
 Released under the GNU General Public License (Version 2)
 [http://www.gnu.org/licenses/gpl-2.0.html]
 --------------------------------------------------------------
 */

jse.libs.theme.interaction = jse.libs.theme.interaction || {};

/**
 * ## Honeygrid Interaction Library
 *
 * Handles the theme interactions.
 *
 * @module Honeygrid/Libs/interaction
 * @exports jse.libs.theme.interaction
 */
(function (exports) {
    'use strict';

    var $body = $('body'),
        mousedown = false;

    /**
     * Returns the mousedown state.
     *
     * @param  {object} e Event
     * @return {boolean} True if mousedown is active
     */
    var _clickHandler = function (e) {
        mousedown = e.data.mousedown;
    };

    $body
        .on('mousedown', {mousedown: true}, _clickHandler)
        .on('mouseup', {mousedown: false}, _clickHandler);

    /**
     * Returns true if a mouse button is clicked.
     *
     * @return {Boolean} Is the mouse clicked?
     */
    exports.isMouseDown = function () {
        return mousedown;
    };

}(jse.libs.theme.interaction));

jse.libs.template = jse.libs.template || {};
jse.libs.template.interaction = jse.libs.theme.interaction;

Youez - 2016 - github.com/yon3zu
LinuXploit