- 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
13 lines
261 B
JavaScript
13 lines
261 B
JavaScript
'use strict';
|
|
|
|
var is = require('./is.cjs');
|
|
var walkObject = require('./walk-object.cjs');
|
|
|
|
function mapObject(obj, fn) {
|
|
if (!is.isObject(obj))
|
|
return fn(obj);
|
|
return walkObject.walkObject(obj, (value) => fn(value));
|
|
}
|
|
|
|
exports.mapObject = mapObject;
|