aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-11-28 11:43:36 -0800
committerMark Otto <[email protected]>2011-11-28 11:43:36 -0800
commitba17414d777919a84b1f055fcbb835d1f624f3d3 (patch)
tree893dd1dbd3e112cbc2781bfb96574e9c381d7243
parent7eb340ec589acd56ad960a020969822636c2bc54 (diff)
parent1af3596a5e09575d9f1c08e6bd69789baecef90f (diff)
downloadbootstrap-ba17414d777919a84b1f055fcbb835d1f624f3d3.tar.xz
bootstrap-ba17414d777919a84b1f055fcbb835d1f624f3d3.zip
Merge pull request #711 from smaboshe/updates-to-2.0-docs
Updates to 2.0 docs to address typos and capitalization
-rw-r--r--README.md4
-rw-r--r--js/README.md16
2 files changed, 10 insertions, 10 deletions
diff --git a/README.md b/README.md
index ad51b16fc..fd9726584 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@ Here's what the LESS version looks like:
<script src="less.js" type="text/javascript"></script>
```
-Or if you prefer, the standard css way:
+Or if you prefer, the standard CSS way:
``` html
<link rel="stylesheet" type="text/css" href="bootstrap.css">
@@ -72,7 +72,7 @@ http://groups.google.com/group/twitter-bootstrap
Developers
----------
-We have included a makefile with convenience methods for working with the bootstrap library.
+We have included a makefile with convenience methods for working with the Bootstrap library.
+ **build** - `make build`
This will run the less compiler on the bootstrap lib and generate a bootstrap.css and bootstrap.min.css file.
diff --git a/js/README.md b/js/README.md
index 2655af68e..2eef9e735 100644
--- a/js/README.md
+++ b/js/README.md
@@ -1,13 +1,13 @@
-## 2.0 BOOTSTRAP JS PHILSOPHY
-These are the highlevel design rules which guide the developement of Bootstrap's js plugins.
+## 2.0 BOOTSTRAP JS PHILOSOPHY
+These are the high-level design rules which guide the development of Bootstrap's JS plugins.
---
### DATA-ATTRIBUTE API
-We believe you should be able to use all plugins provided by bootstrap purely through the markup api without writing a single line of javascript.
+We believe you should be able to use all plugins provided by Bootstrap purely through the markup API without writing a single line of javascript.
-We acknoledge that this isn't always the most performant and sometimes it may be desirable to turn this functionality off altogether. Therefore, as of 2.0 we provide the ability to disable the data attribute api by unbinding all events on the body namespaced with `'data-api'`. This looks like this:
+We acknowledge that this isn't always the most performant and sometimes it may be desirable to turn this functionality off altogether. Therefore, as of 2.0 we provide the ability to disable the data attribute API by unbinding all events on the body namespaced with `'data-api'`. This looks like this:
$('body').unbind('.data-api')
@@ -19,13 +19,13 @@ To target a specific plugin, just include the plugins name as a namespace along
### PROGRAMATIC API
-We also believe you should be able to use all plugins provided by bootstrap purely through the JS api.
+We also believe you should be able to use all plugins provided by Bootstrap purely through the JS API.
-All pubilc APIs should be a single, chainable method, and return the collection acted upon.
+All public APIs should be a single, chainable method, and return the collection acted upon.
$(".btn.danger").button("toggle").addClass("fat")
-All methods should accept an optional options object, a string which targets a particular method, or null which innitiates the default behavior:
+All methods should accept an optional options object, a string which targets a particular method, or null which initiates the default behavior:
$("#myModal").modal() // initialized with defaults
@@ -39,7 +39,7 @@ All plugins should have a default object which can be modified to effect all ins
$.fn.modal.defaults = { … }
-An options definiton should take the following form:
+An options definition should take the following form:
*noun*: *adjective* - describes or modifies a quality of an instance