[Checkins] SVN: z3c.pt/trunk/src/z3c/pt/genshi.txt No excuse for typos in a test

Wichert Akkerman wichert at wiggy.net
Mon Aug 18 04:25:27 EDT 2008


Log message for revision 89960:
  No excuse for typos in a test

Changed:
  U   z3c.pt/trunk/src/z3c/pt/genshi.txt

-=-
Modified: z3c.pt/trunk/src/z3c/pt/genshi.txt
===================================================================
--- z3c.pt/trunk/src/z3c/pt/genshi.txt	2008-08-18 08:20:55 UTC (rev 89959)
+++ z3c.pt/trunk/src/z3c/pt/genshi.txt	2008-08-18 08:25:26 UTC (rev 89960)
@@ -374,7 +374,7 @@
   ... <script type="text/javascript">
   ... var brands = [
   ...     <py:for each="brand in brands">
-  ...         { value :  "${brand['id']}", "title" : "${brand['title']}" },
+  ...         { value :  "${brand['id']}", title : "${brand['title']}" },
   ...     </py:for>
   ...     ];
   ...
@@ -386,12 +386,12 @@
   <div>
   <script type="text/javascript">
     var brands = [
-      { value : "1", "title" : "One" },
-      { value : "2", "title" : "Two" },
-      { value : "3", "title" : "Three" },
+      { value : "1", title : "One" },
+      { value : "2", title : "Two" },
+      { value : "3", title : "Three" },
       ];
   <BLANKLINE>
-  $(document.read(function() {
+  $(document.ready(function() {
     alert("Hello, World");
   });
   </script>



More information about the Checkins mailing list