Skip to content

Commit

Permalink
Renamed myself var to inst for consistency.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Jul 3, 2012
1 parent c8fc931 commit 931f4f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jquery.color.js
Expand Up @@ -283,13 +283,13 @@ color.fn = jQuery.extend( color.prototype, {
is: function( compare ) {
var is = color( compare ),
same = true,
myself = this;
inst = this;

each( spaces, function( _, space ) {
var isCache = is[ space.cache ],
localCache;
if (isCache) {
localCache = myself[ space.cache ] || space.to && space.to( myself._rgba ) || [];
localCache = inst[ space.cache ] || space.to && space.to( inst._rgba ) || [];
each( space.props, function( _, prop ) {
if ( isCache[ prop.idx ] != null ) {
same = ( isCache[ prop.idx ] === localCache[ prop.idx ] );
Expand Down

0 comments on commit 931f4f2

Please sign in to comment.