working on home page design
[oweals/finalsclub.git] / public / schools.html
index 97e4f403c5f0bb20386a70c1a7b4cd45acc40d89..299652c95cc5586f94209173fd7573d3c35e9cf5 100644 (file)
@@ -54,7 +54,6 @@
 
                 <h1>Universities</h1>
 
-                
                 <div class="school" id=PROTO_school>
                     <div class=name>
                         <a href="courses.html?school=__name__">__name__</a>
 
             <script>
 
-            var schools = []
+                var schools = []
 
-            // this is what will really happen when we're done
-            $.get("/schools", {}, function(r) {
+                // this is what will really happen when we're done
+                $.get("/schools", {}, function(r) {
 
-                //XXX schools = JSON.parse(r)
-                schools = [
-                    { name: "Berkeley", numCourses: 2 },
-                    { name: "Brown", numCourses: 5 },
-                    { name: "Columbia", numCourses: 0 },
-                ];
-
-                ProtoDiv.replicate("PROTO_school", schools);
-            });
+                    //XXX schools = JSON.parse(r)
+                    schools = [
+                        { name: "Berkeley", numCourses: 2 },
+                        { name: "Brown", numCourses: 5 },
+                        { name: "Columbia", numCourses: 0 },
+                    ];
 
+                    ProtoDiv.replicate("PROTO_school", schools);
+                });
 
             </script>
         </div>