gist: 1942 Download_button fork
public
Public Clone URL: git://gist.github.com/1942.git
JavaScript
1
2
3
4
5
6
7
8
9
  self.eq = function(other) {
    // Is self equal to other?
    if (self.length !== other.length) return 0
   var equal = 1
    for (var i=0; i<self.length; i++) {
      if (self[i] !== other[i]) equal = 0
    }
    return equal
  }

Owner

maxwell

Revisions