Permalink
Browse files

Fixed JavaScript formatting in docs - closes #212

  • Loading branch information...
1 parent abf33bf commit 8a27b867612f54a1c0f20c71cb1a3529010a7c7b @ankane committed Feb 10, 2016
Showing with 8 additions and 8 deletions.
  1. +5 −5 README.md
  2. +1 −1 app/assets/javascripts/chartkick.js
  3. +2 −2 chartkick.gemspec
View
@@ -1,6 +1,6 @@
# Chartkick
-Create beautiful Javascript charts with one line of Ruby. No more fighting with charting libraries!
+Create beautiful JavaScript charts with one line of Ruby. No more fighting with charting libraries!
[See it in action](http://ankane.github.io/chartkick/)
@@ -169,7 +169,7 @@ Customize the html
Chartkick.options[:html] = '<div id="%{id}" style="height: %{height};">Loading...</div>'
```
-You capture the javascript in a content block with:
+You capture the JavaScript in a content block with:
```ruby
Chartkick.options[:content_for] = :charts_js
@@ -182,7 +182,7 @@ Then, in your layout:
<%= yield_content :charts_js %> <%# Padrino %>
```
-This is great for including all of your javascript at the bottom of the page.
+This is great for including all of your JavaScript at the bottom of the page.
### Data
@@ -216,7 +216,7 @@ Add this line to your application's Gemfile:
gem "chartkick"
```
-And add the javascript files to your views. These files must be included **before** the helper methods, unless using the `:content_for` option.
+And add the JavaScript files to your views. These files must be included **before** the helper methods, unless using the `:content_for` option.
For Google Charts, use:
@@ -273,7 +273,7 @@ To specify a language for Google Charts, add:
</script>
```
-**before** the javascript files.
+**before** the JavaScript files.
## No Ruby? No Problem
@@ -1,6 +1,6 @@
/*
* Chartkick.js
- * Create beautiful Javascript charts with minimal code
+ * Create beautiful JavaScript charts with minimal code
* https://github.com/ankane/chartkick.js
* v1.4.1
* MIT License
View
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
spec.version = Chartkick::VERSION
spec.authors = ["Andrew Kane"]
spec.email = ["acekane1@gmail.com"]
- spec.description = "Create beautiful Javascript charts with one line of Ruby"
- spec.summary = "Create beautiful Javascript charts with one line of Ruby"
+ spec.description = "Create beautiful JavaScript charts with one line of Ruby"
+ spec.summary = "Create beautiful JavaScript charts with one line of Ruby"
spec.homepage = "http://chartkick.com"
spec.license = "MIT"

0 comments on commit 8a27b86

Please sign in to comment.