We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 71f5290 + 5703819 commit 420ca04Copy full SHA for 420ca04
src/specmap/index.js
@@ -1,3 +1,5 @@
1
+import find from 'lodash/find'
2
+
3
import lib from './lib'
4
import refs from './lib/refs'
5
import allOf from './lib/all-of'
@@ -112,7 +114,8 @@ class SpecMap {
112
114
}
113
115
116
nextPlugin() {
- return this.wrappedPlugins.find((plugin) => {
117
+ // Array.prototype.find doesn't work in IE 11 :(
118
+ return find(this.wrappedPlugins, (plugin) => {
119
const mutations = this.getMutationsForPlugin(plugin)
120
return mutations.length > 0
121
})
0 commit comments