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/perfect-scrollbar/src/js/adaptor/ drwxr-xr-x |
Viewing file: Select action/file-type: 'use strict'; var ps = require('../main'); var psInstances = require('../plugin/instances'); function mountJQuery(jQuery) { jQuery.fn.perfectScrollbar = function (settingOrCommand) { return this.each(function () { if (typeof settingOrCommand === 'object' || typeof settingOrCommand === 'undefined') { // If it's an object or none, initialize. var settings = settingOrCommand; if (!psInstances.get(this)) { ps.initialize(this, settings); } } else { // Unless, it may be a command. var command = settingOrCommand; if (command === 'update') { ps.update(this); } else if (command === 'destroy') { ps.destroy(this); } } }); }; } if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define(['jquery'], mountJQuery); } else { var jq = window.jQuery ? window.jQuery : window.$; if (typeof jq !== 'undefined') { mountJQuery(jq); } } module.exports = mountJQuery; |
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.1004 ]-- |