Skip to content

Commit 46ac143

Browse files
author
Manuel Mujica
authored
Merge pull request #17 from bit-docs/fix-build
Remove ES6 method shorthand syntax
2 parents 98efa72 + 0e78485 commit 46ac143

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

toc-container-control.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = Control.extend({
2020
});
2121
},
2222

23-
getDocObject() {
23+
getDocObject: function() {
2424
return window.docObject || {};
2525
},
2626

@@ -38,7 +38,7 @@ module.exports = Control.extend({
3838
return (typeof depth === "number" ? Math.min(depth, 6) : 1);
3939
},
4040

41-
getHeadingsContainerSelector(el) {
41+
getHeadingsContainerSelector: function(el) {
4242
var selector = el.dataset.headingsContainerSelector;
4343

4444
return selector ? selector : "article";

0 commit comments

Comments
 (0)