From a0ea380ef910b9baa17be8bf64752c66cefc0f4c Mon Sep 17 00:00:00 2001 From: thednp Date: Thu, 2 Feb 2017 01:12:10 +0200 Subject: [PATCH] Some typo corrections. --- dist/bootstrap-native.js | 2 +- index.html | 2 +- lib/modal-native.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/bootstrap-native.js b/dist/bootstrap-native.js index a849ede1..a27a30dc 100644 --- a/dist/bootstrap-native.js +++ b/dist/bootstrap-native.js @@ -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 diff --git a/index.html b/index.html index 99dd3e26..64aebb0f 100644 --- a/index.html +++ b/index.html @@ -484,7 +484,7 @@
Via JavaScript
}); -

Now we have an initialization reference in myModalInstance, regardless of which element is the target or our constructor, we can start applying the public methods.

+

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

// show the modal at any time
 myModalInstance.show();
diff --git a/lib/modal-native.js b/lib/modal-native.js
index 34590b09..9961cc85 100644
--- a/lib/modal-native.js
+++ b/lib/modal-native.js
@@ -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