- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
10 lines
168 B
JavaScript
10 lines
168 B
JavaScript
'use strict';
|
|
|
|
function contains(parent, child) {
|
|
if (!parent)
|
|
return false;
|
|
return parent === child || parent.contains(child);
|
|
}
|
|
|
|
exports.contains = contains;
|