Software: Apache. PHP/5.6.40 uname -a: Linux cpanel06wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.80.el6.x86_64 #1 SMP Thu Sep 24 uid=851(cp949260) gid=853(cp949260) groups=853(cp949260) Safe-mode: OFF (not secure) /home/cp949260/public_html/phbcoop.com/phb_admin/bower_components/dragula.js/example/ drwxr-xr-x |
Viewing file: Select action/file-type: 'use strict'; var crossvent = require('crossvent'); var sortable = $('sortable'); dragula([$('left-defaults'), $('right-defaults')]); dragula([$('left-copy'), $('right-copy')], { copy: true }); dragula([$('left-events'), $('right-events')]) .on('drag', function (el) { el.className = el.className.replace('ex-moved', ''); }) .on('drop', function (el) { el.className += ' ex-moved'; }) .on('over', function (el, container) { container.className += ' ex-over'; }) .on('out', function (el, container) { container.className = container.className.replace('ex-over', ''); }); dragula([$('left-rollbacks'), $('right-rollbacks')], { revertOnSpill: true }); dragula([$('left-lovehandles'), $('right-lovehandles')], { moves: function (el, container, handle) { return handle.classList.contains('handle'); } }); dragula([$('left-rm-spill'), $('right-rm-spill')], { removeOnSpill: true }); dragula([$('left-copy-1tomany'), $('right-copy-1tomany')], { copy: function (el, source) { return source === $('left-copy-1tomany'); }, accepts: function (el, target) { return target !== $('left-copy-1tomany'); } }); dragula([sortable]); crossvent.add(sortable, 'click', clickHandler); function clickHandler (e) { var target = e.target; if (target === sortable) { return; } target.innerHTML += ' [click!]'; setTimeout(function () { target.innerHTML = target.innerHTML.replace(/ \[click!\]/g, ''); }, 500); } function $ (id) { return document.getElementById(id); } |
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0148 ]-- |