diff options
| author | Chris Rebert <[email protected]> | 2013-08-03 23:01:05 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2013-08-03 23:01:05 -0700 |
| commit | eed4844fd2d12255c0e48acbf2b7132cefd6aaff (patch) | |
| tree | 480e95c91d1717b127e0426b9f5e32022e7e6e9e | |
| parent | c45edbe6b515daad00905d351c310e7d3fa2926f (diff) | |
| download | bootstrap-eed4844fd2d12255c0e48acbf2b7132cefd6aaff.tar.xz bootstrap-eed4844fd2d12255c0e48acbf2b7132cefd6aaff.zip | |
JS docs: capitalize Bootstrap
| -rw-r--r-- | javascript.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/javascript.html b/javascript.html index 453be70ce..eb9e5ced6 100644 --- a/javascript.html +++ b/javascript.html @@ -15,7 +15,7 @@ base_url: "../" </div> <h3 id="js-individual-compiled">Individual or compiled</h3> - <p>Plugins can be included individually (using bootstrap's individual <code>*.js</code> files, or all at once (using <code>bootstrap.js</code> or the minified <code>bootstrap.min.js</code>.</p> + <p>Plugins can be included individually (using Bootstrap's individual <code>*.js</code> files, or all at once (using <code>bootstrap.js</code> or the minified <code>bootstrap.min.js</code>.</p> <div class="bs-callout bs-callout-danger"> <h4>Do not attempt to include both.</h4> @@ -59,12 +59,12 @@ $("#myModal").modal('show') // initializes and invokes show immed <p>Sometimes it is necessary to use Bootstrap plugins with other UI frameworks. In these circumstances, namespace collisions can occasionally occur. If this happens, you may call <code>.noConflict</code> on the plugin you wish to revert the value of.</p> {% highlight js %} var bootstrapButton = $.fn.button.noConflict() // return $.fn.button to previously assigned value -$.fn.bootstrapBtn = bootstrapButton // give $().bootstrapBtn the bootstrap functionality +$.fn.bootstrapBtn = bootstrapButton // give $().bootstrapBtn the Bootstrap functionality {% endhighlight %} <h3 id="js-events">Events</h3> <p>Bootstrap provides custom events for most plugin's unique actions. Generally, these come in an infinitive and past participle form - where the infinitive (ex. <code>show</code>) is triggered at the start of an event, and its past participle form (ex. <code>shown</code>) is trigger on the completion of an action.</p> - <p>As of 3.0.0, all bootstrap events are namespaced.</p> + <p>As of 3.0.0, all Bootstrap events are namespaced.</p> <p>All infinitive events provide <code>preventDefault</code> functionality. This provides the ability to stop the execution of an action before it starts.</p> {% highlight js %} $('#myModal').on('show.bs.modal', function (e) { |
