Closed Bug 1468111 Opened 6 years ago Closed 6 years ago

Convert lodash .clone() to native ES6 JS

Categories

(Tree Management :: Treeherder: Frontend, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: evct, Assigned: evct, Mentored)

References

Details

Attachments

(1 file)

Converting all _.clone() (lodash) functions to ES6 JS
Assignee: nobody → oss
Status: NEW → ASSIGNED
Priority: -- → P3
Blocks: 1466494
According to the type of collection, I used:
- Object: const clone = Object.assign({}, objectToClone);
- Array: const clone = arrayToClone.slice();

I hope I didn't make a mistake on the type of different collections to deal with!
Attachment #8984760 - Flags: review?(cdawson)
Attachment #8984760 - Flags: review?(cdawson)
Attachment #8984760 - Flags: review?(cdawson)
Comment on attachment 8984760 [details] [review]
Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3647

Thanks for the PR!
Attachment #8984760 - Flags: review?(cdawson) → review+
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: