first commit
This commit is contained in:
commit
d3bb4199e1
12081 files changed
+662460
No files matched your search
+9
@@ -0,0 +1,9 @@
|
||||
export default function buildFormatLongFn(args) {
|
||||
return function () {
|
||||
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
||||
// TODO: Remove String()
|
||||
var width = options.width ? String(options.width) : args.defaultWidth;
|
||||
var format = args.formats[width] || args.formats[args.defaultWidth];
|
||||
return format;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user