Closed Bug 275070 Opened 20 years ago Closed 20 years ago

remove preprocessing, other cleanups

Categories

(Calendar :: Internal Components, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: shaver, Assigned: shaver)

Details

Attachments

(1 file, 1 obsolete file)

Patch coming for quick review
Attached patch cleanups, also fixes for 274464 (obsolete) — — Splinter Review
Other than the caldav server not liking me modifying (403, need to check logs),
this seems to work fine.
Comment on attachment 168976 [details] [diff] [review]
cleanups, also fixes for 274464

>Index: calAttendee.js

>+var makeMemberAttr;
I take it this is to surpress errors when trying to load this file as
component? Can you comment that? (same for the other files you do this)

>Index: calItemBase.js
>@@ -269,6 +313,9 @@ calItemBase.prototype = {
>+        // Make sure that the LMT and ST are updated
>+        var suppressDCE = this.lastModifiedTime;
>+        suppressDCE = this.stampTime;
I don't see what is going on here. How does this update LMT and ST? It seems to
just read them
Attached patch forgot to diff public/ before — — Splinter Review
Attachment #168976 - Attachment is obsolete: true
> >+var makeMemberAttr;
> I take it this is to surpress errors when trying to load this file as
> component? Can you comment that? (same for the other files you do this)

Sure.

> >Index: calItemBase.js
> >@@ -269,6 +313,9 @@ calItemBase.prototype = {
> >+        // Make sure that the LMT and ST are updated
> >+        var suppressDCE = this.lastModifiedTime;
> >+        suppressDCE = this.stampTime;
> I don't see what is going on here. How does this update LMT and ST? It seems to
> just read them

It reads them through the accessors, which trigger the updates.
Attachment #168981 - Flags: first-review+
Fixed on trunk.
Status: NEW → RESOLVED
Closed: 20 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: