Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorRohit Sharma <rohit2sharma95@gmail.com>2021-03-16 08:21:04 +0300
committerGitHub <noreply@github.com>2021-03-16 08:21:04 +0300
commit6ecd1c626e4129daf45a47b44c2e2eae60a09fa3 (patch)
tree6c4eba4f501cb96e16ae863bc4401df90115e9f4 /build
parente153e5f5b2b82ad09a9874b8ff1dfca986790f76 (diff)
Change the name of the `Offcanvas` constructor (#33261)
Diffstat (limited to 'build')
-rw-r--r--build/build-plugins.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/build-plugins.js b/build/build-plugins.js
index 7175df4dd5..7fd58bcb64 100644
--- a/build/build-plugins.js
+++ b/build/build-plugins.js
@@ -35,7 +35,7 @@ const bsPlugins = {
Collapse: path.resolve(__dirname, '../js/src/collapse.js'),
Dropdown: path.resolve(__dirname, '../js/src/dropdown.js'),
Modal: path.resolve(__dirname, '../js/src/modal.js'),
- OffCanvas: path.resolve(__dirname, '../js/src/offcanvas.js'),
+ Offcanvas: path.resolve(__dirname, '../js/src/offcanvas.js'),
Popover: path.resolve(__dirname, '../js/src/popover.js'),
ScrollSpy: path.resolve(__dirname, '../js/src/scrollspy.js'),
Tab: path.resolve(__dirname, '../js/src/tab.js'),
@@ -72,7 +72,7 @@ const getConfigByPluginKey = pluginKey => {
}
}
- if (pluginKey === 'Alert' || pluginKey === 'Tab' || pluginKey === 'OffCanvas') {
+ if (pluginKey === 'Alert' || pluginKey === 'Tab' || pluginKey === 'Offcanvas') {
return defaultPluginConfig
}