From 742dde3469ce2b1ec9c1e93cfec756d019a09e83 Mon Sep 17 00:00:00 2001 From: Peter Pistorius Date: Tue, 14 Feb 2012 16:18:25 +0200 Subject: [PATCH] Changed: `Accounts.reset(<%= ... %>)` to `accounts.reset(<%= ... %>)` `Projects.reset(<%= ... %>)` to `projects.reset(<%= ... %>)` As it's popular in JavaScript to capitalize constructors it might be confusing in this context. --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 8de0c34c..3267bb19 100644 --- a/index.html +++ b/index.html @@ -1597,7 +1597,7 @@ Accounts.fetch();
 <script>
-  Accounts.reset(<%= @accounts.to_json %>);
+  accounts.reset(<%= @accounts.to_json %>);
 </script>
 
@@ -3054,8 +3054,8 @@ Inbox.messages.fetch();
 <script>
-  Accounts.reset(<%= @accounts.to_json %>);
-  Projects.reset(<%= @projects.to_json(:collaborators => true) %>);
+  accounts.reset(<%= @accounts.to_json %>);
+  projects.reset(<%= @projects.to_json(:collaborators => true) %>);
 </script>