Skip to content

Commit

Permalink
Avoid jslint errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Sep 8, 2014
1 parent d8423d6 commit 11c6422
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions plugins/clipboard/plugin.js
Expand Up @@ -2024,7 +2024,8 @@
return;
}

var that = this;
var that = this,
i;

function getAndSetData( type ) {
var data = that.getData( type );
Expand All @@ -2038,7 +2039,7 @@
getAndSetData( 'Text' );
getAndSetData( 'URL' );
} else if ( this.$.types ) {
for ( var i = 0; i < this.$.types.length; i++ ) {
for ( i = 0; i < this.$.types.length; i++ ) {
getAndSetData( this.$.types[ i ] );
}
}
Expand All @@ -2047,7 +2048,7 @@
if ( this.$ && this.$.files ) {
this._.files = [];

for ( var i = 0; i < this.$.files.length; i++ ) {
for ( i = 0; i < this.$.files.length; i++ ) {
this._.files.push( this.$.files[ i ] );
}
}
Expand Down

0 comments on commit 11c6422

Please sign in to comment.