Browse Source

syntax fix in code example

hakimel 11 years ago
parent
commit
8a7618793a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      index.html

+ 2 - 2
index.html

@@ -259,10 +259,10 @@ function linkify( selector ) {
     for( var i = 0, len = nodes.length; i < len; i++ ) {
       var node = nodes[i];
 
-      if( !node.className ) ) {
+      if( !node.className ) {
         node.className += ' roll';
       }
-    };
+    }
   }
 }
 					</code></pre>