aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorRohit Sharma <[email protected]>2021-03-16 10:51:04 +0530
committerGitHub <[email protected]>2021-03-16 07:21:04 +0200
commit6ecd1c626e4129daf45a47b44c2e2eae60a09fa3 (patch)
tree6c4eba4f501cb96e16ae863bc4401df90115e9f4 /build
parente153e5f5b2b82ad09a9874b8ff1dfca986790f76 (diff)
downloadbootstrap-6ecd1c626e4129daf45a47b44c2e2eae60a09fa3.tar.xz
bootstrap-6ecd1c626e4129daf45a47b44c2e2eae60a09fa3.zip
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 7175df4dd..7fd58bcb6 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
}