Closed Bug 870429 Opened 12 years ago Closed 12 years ago

Remove locales public field from Make model

Categories

(Webmaker Graveyard :: MakeAPI, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: humph, Assigned: igoryen)

Details

Attachments

(3 files)

We seem to have both locale and locales in our Make model (make.js): Make.publicFields = [ "url", "contentType", "locale", "locales", "title", "description", "author", "published", "tags", "thumbnail", "email", "remixedFrom" ]; Only locale should be there.
Assignee: nobody → igor.yentaltsev
Status: NEW → ASSIGNED
I think the original aim of this was "locale" was the locale of this make, the "locales" was a list of other makes translated from this one. Either way, we're not using it and should probably be removed for now.
Attachment #757540 - Flags: review?(kieran.sedgwick)
Attachment #757578 - Flags: review?(kieran.sedgwick)
Comment on attachment 757578 [details] [review] https://github.com/mozilla/MakeAPI/pull/72 Rebase into 1 commit, and then you have the r+
Attachment #757578 - Flags: review?(kieran.sedgwick) → review-
Attachment #758031 - Flags: review?(kieran.sedgwick)
Attachment #758031 - Flags: review?(kieran.sedgwick) → review+
Commit pushed to master at https://github.com/mozilla/MakeAPI https://github.com/mozilla/MakeAPI/commit/d1e0ae94c5b97ae2963d4852274ad19d65016381 Merge pull request #72 from igoryen/bug870429 Bug 870429 - Remove locales public field from Make model
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Attachment #757540 - Flags: review?(kieran.sedgwick)
Attachment mime type: text/plain text/plain text/plain → text/x-github-pull-request text/x-github-pull-request text/x-github-pull-request
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: