nav tabs on admin dashboard
This commit is contained in:
4
node_modules/es-abstract/test/diffOps.js
generated
vendored
4
node_modules/es-abstract/test/diffOps.js
generated
vendored
@@ -12,10 +12,12 @@ module.exports = function diffOperations(actual, expected, expectedMissing) {
|
||||
forEach(actualKeys, function (op) {
|
||||
if (!(op in expected)) {
|
||||
extra.push(op);
|
||||
} else if (expectedMissing.indexOf(op) !== -1) {
|
||||
extra.push(op);
|
||||
}
|
||||
});
|
||||
forEach(expectedKeys, function (op) {
|
||||
if (!(op in actual) && expectedMissing.indexOf(op) === -1) {
|
||||
if (typeof actual[op] !== 'function' && expectedMissing.indexOf(op) === -1) {
|
||||
missing.push(op);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user