Commit ad133ea
committed
Use _.hasIn for checking storage service method existence
_.has only looks at own properties on the class and does not look for inherited properties. In ES6 the methods defined for an instance of a class are not own properties and the _.has check results in false positives.1 parent 273fd0a commit ad133ea
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
95 | 94 | | |
96 | 95 | | |
97 | 96 | | |
| |||
0 commit comments