Skip to content

variable declaration #1488

Closed
Closed
@metrophos

Description

@metrophos

There is a little issue on:

    $$equals: function(paramValues1, paramValues2) {
      var equal = true; self = this;
      forEach(self.$$keys(), function(key) {
        var left = paramValues1 && paramValues1[key], right = paramValues2 && paramValues2[key];
        if (!self[key].type.equals(left, right)) equal = false;
      });
      return equal;
    },

It should var equal = true, self = this; not var equal = true; self = this;

This is a problem for internet explorer.
I get this error if I change the state on IE9: JavaScript error: Object doesn't support property or method '$$keys'

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions