diff options
author | Rémy Coutable <remy@rymai.me> | 2016-08-04 13:30:27 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-08-04 13:30:27 +0300 |
commit | 8c8599a6056766313252e618e87b32456e26e10e (patch) | |
tree | 1457636b99ec7de29aebb603d3252cfee9f31846 /doc/development/gotchas.md | |
parent | d63263ee1c0477394cc370054ba93ae4f2a698dd (diff) |
Remove CHANGELOG and fix typo
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'doc/development/gotchas.md')
-rw-r--r-- | doc/development/gotchas.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/development/gotchas.md b/doc/development/gotchas.md index fc52027ab94..159d5ce286d 100644 --- a/doc/development/gotchas.md +++ b/doc/development/gotchas.md @@ -41,10 +41,10 @@ Rubocop](https://gitlab.com/gitlab-org/gitlab-ce/blob/8-4-stable/.rubocop.yml#L9 [Exception]: http://stackoverflow.com/q/10048173/223897 -## Don't use inline CoffeeScript/Javascript in views +## Don't use inline CoffeeScript/JavaScript in views Using the inline `:coffee` or `:coffeescript` Haml filters comes with a -performance overhead. Using inline Javascript is not a good way to structure your code and should be avoided. +performance overhead. Using inline JavaScript is not a good way to structure your code and should be avoided. _**Note:** We've [removed these two filters](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/config/initializers/hamlit.rb) in an initializer._ |