Skip to content

Commit 0555fa3

Browse files
committed
Merge pull request gazay#16 from dnagir/patch-1
minor spelling fixes in README
2 parents 4acc460 + c165afc commit 0555fa3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ gem line to your Gemfile and do the following:
5252
...
5353
```
5454

55-
For camelize your variables in js you can use:
55+
To camelize your variables in js you can use:
5656

5757
``` erb
5858
<head>
@@ -62,7 +62,7 @@ For camelize your variables in js you can use:
6262
...
6363
```
6464

65-
For different namespace of your variables in js you can use:
65+
You can change the namespace of the variables:
6666

6767
``` erb
6868
<head>
@@ -72,7 +72,7 @@ For different namespace of your variables in js you can use:
7272
...
7373
```
7474

75-
In action of your controller you put something like this:
75+
You put something like this in the action of your controller:
7676

7777
``` ruby
7878
@your_int = 123
@@ -90,7 +90,7 @@ gon.your_array # > [1, 2, 123]
9090
gon.clear # gon.all_variables now is {}
9191
```
9292

93-
In javascript file for view of this action write call to your variable:
93+
Access the varaibles from your JavaScript file:
9494

9595
``` js
9696
alert(gon.your_int)
@@ -125,7 +125,7 @@ The way of writing Rabl templates is very clearly described in their repo.
125125
Profit of using Rabl with gon:
126126

127127
1. You can clean your controllers now!
128-
2. Clear and easy work with database objects and collections
128+
2. Work with database objects and collections clearly and easyly
129129
3. All power of Rabl
130130
4. You can still be lazy and don't use common way to transfer data in js
131131
5. And so on

0 commit comments

Comments
 (0)