Closed Bug 1436490 Opened 6 years ago Closed 6 years ago

Move more data related functions into calDataUtils.jsm

Categories

(Calendar :: Internal Components, defect)

Lightning 6.2
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Fallen, Assigned: Fallen)

References

Details

Attachments

(2 files)

Using the script from attachment 8942466 [details] [diff] [review] and the following migrations:

cal.binarySearch                     -> cal.data.binarySearch
cal.binaryInsertNode                 -> cal.data.binaryInsertNode
cal.binaryInsert                     -> cal.data.binaryInsert
cal.compareObjects                   -> cal.data.compareObjects
cal.compareArrays                    -> cal.data.compareArrays

I'd like to move window functions out of calUtils.js(m). Again, there will be some manual changes in one patch, and one with all automatic changes. This goes after bug 1436488 in patch order.
The function compareArrays() seems to be unused.
Attached patch Manual Changes - v1 β€” β€” Splinter Review
Thanks Martin, I've removed that one.
Attachment #8949173 - Flags: review?(makemyday)
Comment on attachment 8949173 [details] [diff] [review]
Manual Changes - v1

Review of attachment 8949173 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good, r=me
Attachment #8949173 - Flags: review?(makemyday) → review+
Please push both the automatic and manual patches, after the bug mentioned in comment 0.
Keywords: checkin-needed
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/e2c686325a54
Move more data related functions into calDataUtils.jsm  - manual changes. r=MakeMyDay
https://hg.mozilla.org/comm-central/rev/afe12c107559
Move more data related functions into calDataUtils.jsm  - automatic changes. r=MakeMyDay
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 6.2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: