HEX
Server: Apache/2
System: Linux cat17246.lnwhostname.com 3.10.0-1160.53.1.el7.x86_64 #1 SMP Fri Jan 14 13:59:45 UTC 2022 x86_64
User: firststeps (1017)
PHP: 7.3.33
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/firststeps/public_html/wp-content/themes/CreatorThemeRes/js/jquery.ba-cond.js
/*!
 * cond - v0.1 - 6/10/2009
 * http://benalman.com/projects/jquery-cond-plugin/
 * 
 * Copyright (c) 2009 "Cowboy" Ben Alman
 * Licensed under the MIT license
 * http://benalman.com/about/license/
 * 
 * Based on suggestions and sample code by Stephen Band and DBJDBJ in the
 * jquery-dev Google group: http://bit.ly/jqba1
 */

(function($){
  '$:nomunge'; // Used by YUI compressor.
  
  $.fn.cond = function() {
    var undefined,
      args = arguments,
      i = 0,
      test,
      callback,
      result;
    
    while ( !test && i < args.length ) {
      test = args[ i++ ];
      callback = args[ i++ ];
      
      test = $.isFunction( test ) ? test.call( this ) : test;
      
      result = !callback ? test
        : test ? callback.call( this, test )
        : undefined;
    }
    
    return result !== undefined ? result : this;
  };
  
})(jQuery);