Showing 701 of 9,653 total issues
Function add
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
add: function(handleObj) {
var prop = this.propagate;
if ( Galleria.TOUCH ) {
$(this).on('touchstart.fast', function start(e) {
var ev = e.originalEvent,
Function galleria
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.galleria = function( options ) {
var selector = this.selector;
// try domReady if element not found
Function show
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
show : function( elem, speed, callback ) {
callback = callback || F;
var $elem = $(elem);
Function add
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
add: function(handleObj) {
var prop = this.propagate;
if ( Galleria.TOUCH ) {
$(this).on('touchstart.fast', function start(e) {
var ev = e.originalEvent,
Function fadeslide
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
fadeslide: function(params, complete) {
var x = 0,
easing = this.getOptions('easing');
Function bindControls
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
bindControls: function() {
carousel.next.bind( CLICK(), function(e) {
e.preventDefault();
Function fancybox
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fancybox = function(obj) {
var opts;
if (busy) {
return;
Function getAjax
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getAjax: function(item) {
if(_ajaxCur)
_body.addClass(_ajaxCur);
Function updateItemHTML
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
updateItemHTML: function() {
var item = mfp.items[mfp.index];
// Detach and perform modifications
mfp.contentContainer.detach();
Method moduleLastVersionInfo
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function moduleLastVersionInfo()
{
static $result;
if (isset($result)) {
Method staticPopErrorHandling
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function staticPopErrorHandling()
{
$stack = &$GLOBALS['_PEAR_error_handler_stack'];
$setmode = &$GLOBALS['_PEAR_default_error_mode'];
$setoptions = &$GLOBALS['_PEAR_default_error_options'];
Method _PEAR_call_destructors
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _PEAR_call_destructors()
{
global $_PEAR_destructor_object_list;
if (is_array($_PEAR_destructor_object_list)
&& count($_PEAR_destructor_object_list)) {
Method _setErrorHandling
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected static function _setErrorHandling(
$object,
$mode = null,
$options = null
) {
Method update_menu_order
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function update_menu_order()
{
$menu_order = 0;
// get the slide with the highest menu_order so far
Method checkWpFooter
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function checkWpFooter()
{
$current_theme = wp_get_theme();
$theme_name = $current_theme->Template;
Method Create
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function Create($sFilename = '')
{
// check for required gd functions
if (!\function_exists('imagecreate') || !\function_exists("image$this->sFileType")
|| ('' != $this->vBackgroundImages && !\function_exists('imagecreatetruecolor'))) {
Method updateBlock
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function updateBlock($bid, $btitle, $bside, $bweight, $bvisible, $bcachetime, $bmodule, $options, $groups)
Function _getWH
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_getWH : function() {
var $container = this.$( 'container' ),
$target = this.$( 'target' ),
self = this,
Function _getWH
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_getWH : function() {
var $container = this.$( 'container' ),
$target = this.$( 'target' ),
self = this,
Function historyInit
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
historyInit: function(callback, src){
jQuery.historyCallback = callback;
if (src) jQuery.historyIframeSrc = src;
var current_hash = location.hash.replace(/\?.*$/, '');