File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,10 @@ const getDefaults = () => JSON.parse(JSON.stringify(DEFAULTS))
90
90
// Method to set the config.
91
91
// Merges in only known top-level and sub-level keys.
92
92
// Vue.use(BootstrapVue, config)
93
+ // or
94
+ // BootstrapVue.setConfig(config)
95
+ // Vue.use(BootstrapVue)
96
+
93
97
94
98
/* istanbul ignore next: just for now to prevent red X on codecov until we can test this */
95
99
const setConfig = ( opts = { } ) => {
@@ -123,16 +127,6 @@ const getConfigParam = key => {
123
127
124
128
// Method to grab a config value for a particular component.
125
129
// Returns a deep clone (immutable) copy
126
- const getConfigComponent = ( cmpName , key = null ) => {
127
- if ( key ) {
128
- // Return the particular config value for key for specified component
129
- return getConfigParam ( `${ cmpName } .${ key } ` )
130
- } else {
131
- // return the components full config
132
- return getConfigParam ( cmpName ) || { }
133
- }
134
- }
135
-
136
130
const getComponentConfig = ( cmpName , key = null ) => {
137
131
if ( key ) {
138
132
// Return the particular config value for key for specified component
@@ -172,7 +166,6 @@ export {
172
166
setConfig ,
173
167
getDefaults ,
174
168
getConfigParam ,
175
- getConfigComponent ,
176
169
getComponentConfig ,
177
170
getBreakpointsAll ,
178
171
getBreakpointsUp ,
You can’t perform that action at this time.
0 commit comments