проблема со скриптом

Result

Новичок
Здравствуйте. Я не знаю к какому разделу относится этот вопрос. Модераторы пожалуйста не удаляйте этот пост.
Я поставил плагин (js isotope ). Он везде хорошо работает. Кроме как хроме и яндекс. Не прогружается картинки (
вот ошибка браузера:
PHP:
no such method '.content' for isotope instanceisotope.js:5938
logErrorisotope.js:5963
$.fn.(anonymous function)index.html  :26
(anonymous function)isotope.js    :937
emitEventisotope.js: 964
emitisotope.js  :1242
(anonymous function)
а вот строчки ошибки кода.

PHP:
5938 {{{{{{
var logError = typeof console === 'undefined' ? noop :
  function( message ) {
    console.error( message ); //5938
  };
}}}}}

5963{{{{{
if ( !$.isFunction( instance[options] ) || options.charAt(0) === '_' ) {
          logError( "no such method '" + options + "' for " + namespace + " instance" ); //тут
          continue;
}
}}}}}

937{{{{{
proto.emitEvent = function emitEvent(evt, args) {
        var listeners = this.getListenersAsObject(evt);
        var listener;
        var i;
        var key;
        var response;

        for (key in listeners) {
            if (listeners.hasOwnProperty(key)) {
                i = listeners[key].length;

                while (i--) {
                    // If the listener returns true then it shall be removed from the event
                    // The function is executed either with a basic call or an apply if there is an args array
                    listener = listeners[key][i];

                    if (listener.once === true) {
                        this.removeListener(evt, listener.listener);
                    }

                    response = listener.listener.apply(this, args || []);  //тут 937

                    if (response === this._getOnceReturnValue()) {
                        this.removeListener(evt, listener.listener);
                    }
                }
            }
        }

        return this;
    };
}}}}}}
964{{{{{{
proto.emit = function emit(evt) {
        var args = Array.prototype.slice.call(arguments, 1);
        return this.emitEvent(evt, args); //тут
    };
}}}}}}

1242{{{{{{{{{{
ImagesLoaded.prototype.complete = function() {
    var eventName = this.hasAnyBroken ? 'fail' : 'done';
    this.isComplete = true;
    var _this = this;
    // HACK - another setTimeout so that confirm happens after progress
    setTimeout( function() {
      _this.emit( eventName, _this );
      _this.emit( 'always', _this ); //тут
      if ( _this.jqDeferred ) {
        var jqMethod = _this.hasAnyBroken ? 'reject' : 'resolve';
        _this.jqDeferred[ jqMethod ]( _this );
      }
    });
  };
}}}}}}}}}

Заранее благадарю вас
 

AmdY

Пью пиво
Команда форума
У тебя совсем не тот кусок кода. Создай минимальный пример, где можно увидеть ошибку, а не лезь во внутрь плагина. Вроде такого http://jsfiddle.net/maxisam/QrCXh/
 

c0dex

web.dev 2002-...
Команда форума
Партнер клуба
Почему в форуме по php?
 
Сверху