Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add curly braces to for loops

  • Loading branch information...
commit 61ce8ee447e435a11226bf44029862d9007bfe5f 1 parent ec50eab
@epeli epeli authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/colorjoe.js
View
6 src/colorjoe.js
@@ -116,13 +116,15 @@ function setup(o) {
var listeners = {change: [], done: []};
function changed() {
- for(var i = 0, len = listeners.change.length; i < len; i++)
+ for(var i = 0, len = listeners.change.length; i < len; i++) {
listeners.change[i](col);
+ }
}
function done() {
- for(var i = 0, len = listeners.done.length; i < len; i++)
+ for(var i = 0, len = listeners.done.length; i < len; i++) {
listeners.done[i](col);
+ }
}
var ob = {
Please sign in to comment.
Something went wrong with that request. Please try again.