Menu icon Foundation

My Posts

No Content

My Comments

Paul Pettengill commented on James Cocker's post over 5 years

I'm getting an Object expected error at line 222 of the foundation.js when I execute in IE8.

See the code below, line 222 is the second return statement from foundation.js

      init_lib : function (lib, args) {
      if (this.libs.hasOwnProperty(lib)) {
        this.patch(this.libs[lib]);

        if (args && args.hasOwnProperty(lib)) {
          return this.libs[lib].init.apply(this.libs[lib], [this.scope, args[lib]]);
        }

        return this.libs[lib].init.apply(this.libs[lib], args);
      }

      return function () {};
    },

Posts Followed

No Content

Following

    No Content

Followers

My Posts

No Content

My Comments

You commented on James Cocker's post over 5 years

I'm getting an Object expected error at line 222 of the foundation.js when I execute in IE8.

See the code below, line 222 is the second return statement from foundation.js

      init_lib : function (lib, args) {
      if (this.libs.hasOwnProperty(lib)) {
        this.patch(this.libs[lib]);

        if (args && args.hasOwnProperty(lib)) {
          return this.libs[lib].init.apply(this.libs[lib], [this.scope, args[lib]]);
        }

        return this.libs[lib].init.apply(this.libs[lib], args);
      }

      return function () {};
    },

Posts Followed

No Content

Following

  • No Content

Followers

  • No Content