Skip to content

Commit 993069d

Browse files
committed
refactor: rename _sidebarInterface to sidebarInterface
1 parent 26f9252 commit 993069d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

js/src/sidebar.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ class Sidebar extends BaseComponent {
352352

353353
// Static
354354

355-
static _sidebarInterface(element, config) {
355+
static sidebarInterface(element, config) {
356356
let data = Data.getData(element, DATA_KEY)
357357
const _config = typeof config === 'object' && config
358358

@@ -371,7 +371,7 @@ class Sidebar extends BaseComponent {
371371

372372
static jQueryInterface(config) {
373373
return this.each(function () {
374-
Sidebar._sidebarInterface(this, config)
374+
Sidebar.sidebarInterface(this, config)
375375
})
376376
}
377377
}
@@ -385,7 +385,7 @@ class Sidebar extends BaseComponent {
385385
EventHandler.on(window, EVENT_LOAD_DATA_API, () => {
386386
// eslint-disable-next-line unicorn/prefer-spread
387387
Array.from(document.querySelectorAll(SELECTOR_SIDEBAR)).forEach(element => {
388-
Sidebar._sidebarInterface(element)
388+
Sidebar.sidebarInterface(element)
389389
})
390390
})
391391

0 commit comments

Comments
 (0)