Skip to content

Commit

Permalink
Some typo corrections.
Browse files Browse the repository at this point in the history
  • Loading branch information
thednp committed Feb 1, 2017
1 parent 69f67cc commit a0ea380
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/bootstrap-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@
// ===============
var Modal = function(element, options) { // element can be the modal/triggering button

// the modal (JavaScript init) / triggering button element (DATA API)
// the modal (both JavaScript / DATA API init) / triggering button element (DATA API)
element = queryElement(element);

// determine modal, triggering element
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ <h5>Via JavaScript</h5>
});
</code></pre>

<p>Now we have an initialization reference in <code>myModalInstance</code>, regardless of which element is the target or our constructor, we can start applying the public methods.</p>
<p>Now we have an initialization reference in <code>myModalInstance</code>, regardless of which element is the target of our constructor, we can start applying the component's public methods.</p>

<pre><code class="language-javascript">// show the modal at any time
myModalInstance.show();
Expand Down
2 changes: 1 addition & 1 deletion lib/modal-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// ===============
var Modal = function(element, options) { // element can be the modal/triggering button

// the modal (JavaScript init) / triggering button element (DATA API)
// the modal (both JavaScript / DATA API init) / triggering button element (DATA API)
element = queryElement(element);

// determine modal, triggering element
Expand Down

0 comments on commit a0ea380

Please sign in to comment.