From b1937a34f46443a32cdca8219bf8728e82f85be6 Mon Sep 17 00:00:00 2001 From: Jameson Gamble Date: Thu, 19 Feb 2015 16:47:54 -0800 Subject: [PATCH] Fixes second for loop to use var i instead of var j --- examples/example-checkbox-row-select.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/example-checkbox-row-select.html b/examples/example-checkbox-row-select.html index 4ad6e9be0..dbd8a7d5d 100644 --- a/examples/example-checkbox-row-select.html +++ b/examples/example-checkbox-row-select.html @@ -75,11 +75,11 @@

View Source:

columns.push(checkboxSelector.getColumnDefinition()); - for (var i = 0; i < 5; i++) { + for (var j = 0; j < 5; j++) { columns.push({ - id: i, - name: String.fromCharCode("A".charCodeAt(0) + i), - field: i, + id: j, + name: String.fromCharCode("A".charCodeAt(0) + j), + field: j, width: 100, editor: Slick.Editors.Text });