`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.
This commit is contained in:
Peter Pistorius
2012-02-14 16:18:25 +02:00
committed by Peter Pistorius
parent 04e2e20299
commit 742dde3469

View File

@@ -1597,7 +1597,7 @@ Accounts.fetch();
<pre>
&lt;script&gt;
Accounts.reset(&lt;%= @accounts.to_json %&gt;);
accounts.reset(&lt;%= @accounts.to_json %&gt;);
&lt;/script&gt;
</pre>
@@ -3054,8 +3054,8 @@ Inbox.messages.fetch();
<pre>
&lt;script&gt;
Accounts.reset(&lt;%= @accounts.to_json %&gt;);
Projects.reset(&lt;%= @projects.to_json(:collaborators => true) %&gt;);
accounts.reset(&lt;%= @accounts.to_json %&gt;);
projects.reset(&lt;%= @projects.to_json(:collaborators => true) %&gt;);
&lt;/script&gt;
</pre>