Skip to content
Permalink
Browse files

Standardize on a.indexOf(b) === -1, per @gibson042 review notes

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
  • Loading branch information...
rwaldron committed Feb 3, 2013
1 parent 7b50c4a commit f50680898b7560d7e53872a221614ce9c576a7d8
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/data.js
@@ -135,7 +135,7 @@ Data.prototype = {
discard: function( owner ) {
var index = Data.index( this.owners, owner );

if ( index >= 0 ) {
if ( index !== -1 ) {
this.owners.splice( index, 1 );
this.cache.splice( index, 1 );
}

0 comments on commit f506808

Please sign in to comment.
You can’t perform that action at this time.