A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/bootstrap-vue/bootstrap-vue/commit/27f066cfa07ee311fe1e312d9a9ebd0eb76750c7 below:

remove unnecessary export statements (#4624) · bootstrap-vue/bootstrap-vue@27f066c · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+4

-3

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+4

-3

lines changed Original file line number Diff line number Diff line change

@@ -11,12 +11,12 @@ const srcIndex = 'bootstrap-vue/src/index.js'

11 11

// --- Utility methods ---

12 12 13 13

// Converts PascalCase or camelCase to kebab-case

14 -

export const kebabCase = str => {

14 +

const kebabCase = str => {

15 15

return str.replace(RX_HYPHENATE, '-$1').toLowerCase()

16 16

}

17 17 18 18

// Converts a kebab-case or camelCase string to PascalCase

19 -

export const pascalCase = str => {

19 +

const pascalCase = str => {

20 20

str = kebabCase(str).replace(RX_UN_KEBAB, (_, c) => (c ? c.toUpperCase() : ''))

21 21

return str.charAt(0).toUpperCase() + str.slice(1)

22 22

}

@@ -161,7 +161,8 @@ module.exports = function nuxtBootstrapVue(moduleOptions = {}) {

161 161

if (

162 162

templateOptions.treeShake &&

163 163

templateOptions.icons &&

164 -

templateOptions.componentPlugins.indexOf('IconsPlugin') === -1

164 +

templateOptions.componentPlugins.indexOf('IconsPlugin') === -1 &&

165 +

templateOptions.componentPlugins.indexOf('BootstrapVueIcons') === -1

165 166

) {

166 167

templateOptions.componentPlugins.push('IconsPlugin')

167 168

}

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4