[Code Style] Rename shadowing variables

This commit is contained in:
Victor Woeltjen
2016-05-20 11:39:49 -07:00
parent e468080373
commit ad5691142e
56 changed files with 256 additions and 262 deletions

View File

@ -93,11 +93,11 @@ define(
// Look up an object in the queue that does not have a value
// assigned to this key (or, add a new one)
function getFreeObject(key) {
var index = counts[key] || 0, object;
function getFreeObject(k) {
var index = counts[k] || 0, object;
// Track the largest free position for this key
counts[key] = index + 1;
counts[k] = index + 1;
// If it's before the end of the queue, add it there
if (index < queue.length) {