mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 08:57:49 +00:00
Remove semicolons.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import baseIsMatch from './baseIsMatch.js';
|
||||
import getMatchData from './getMatchData.js';
|
||||
import matchesStrictComparable from './matchesStrictComparable.js';
|
||||
import baseIsMatch from './baseIsMatch.js'
|
||||
import getMatchData from './getMatchData.js'
|
||||
import matchesStrictComparable from './matchesStrictComparable.js'
|
||||
|
||||
/**
|
||||
* The base implementation of `matches` which doesn't clone `source`.
|
||||
@@ -10,11 +10,11 @@ import matchesStrictComparable from './matchesStrictComparable.js';
|
||||
* @returns {Function} Returns the new spec function.
|
||||
*/
|
||||
function baseMatches(source) {
|
||||
const matchData = getMatchData(source);
|
||||
const matchData = getMatchData(source)
|
||||
if (matchData.length == 1 && matchData[0][2]) {
|
||||
return matchesStrictComparable(matchData[0][0], matchData[0][1]);
|
||||
return matchesStrictComparable(matchData[0][0], matchData[0][1])
|
||||
}
|
||||
return object => object === source || baseIsMatch(object, source, matchData);
|
||||
return object => object === source || baseIsMatch(object, source, matchData)
|
||||
}
|
||||
|
||||
export default baseMatches;
|
||||
export default baseMatches
|
||||
|
||||
Reference in New Issue
Block a user