Skip to content

Commit

Permalink
fix(b-form-input/b-form-textarea): legacy browser support (closes #6283
Browse files Browse the repository at this point in the history
…) (#6345)

* fix(b-form-input/b-form-textarea): legacy browser support

* Update form-text.js

* Revert "Update form-text.js"

This reverts commit d4cd34a.

* Update form-text.js

* Update props.js

* Update props.js

* Update form-text.js
  • Loading branch information
jacobmllr95 authored Jan 22, 2021
1 parent 67624f0 commit a79d98a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/props.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,5 @@ const configurablePropDefaultFnName = makePropConfigurable({}, '', '').default.n

// Detect wether the given value is currently a function
// and isn't the props default function
export const hasPropFunction = fn => isFunction(fn) && fn.name !== configurablePropDefaultFnName
export const hasPropFunction = fn =>
isFunction(fn) && fn.name && fn.name !== configurablePropDefaultFnName

0 comments on commit a79d98a

Please sign in to comment.