Closed
Bug 645170
Opened 14 years ago
Closed 14 years ago
Do not check in concatenated JS files
Categories
(Websites Graveyard :: markup.mozilla.org, defect)
Websites Graveyard
markup.mozilla.org
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: wenzel, Assigned: adam)
Details
(Whiteboard: [qa-])
markApp.js has over 7000 (!) LOC and is very hard to review. Keep the actual app code in there, but please put JS libraries like socialShare, and especially third-party apps like jQuery selectBox into separate files. Since all is concatenated and minified anyway, there's no reason to squeeze things into a single file, and it'll make code reuse very hard down the road.
From my guestimations, this will reduce the size of that file to 2000 LOC. That's still big, less than a third of the current size.
Updated•14 years ago
|
Assignee: nobody → adam
Reporter | ||
Comment 1•14 years ago
|
||
Argh, that's the concatenated code, isn't it?
Please add those files to a .gitignore file and don't check them in. You are free to keep the .min files in there though since those are the ones used by the app and it'd simplify deployment.
Reporter | ||
Updated•14 years ago
|
Summary: Put JS libraries into separate files → Do not check in concatenated JS files
Assignee | ||
Comment 2•14 years ago
|
||
Remove markApp.js from the repo.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 3•14 years ago
|
||
Verified markApp.js has been removed from the repo.
Does /ffdemo/templates_orig/home.html need to be updated to reflect this?
markup mbrandt$ grep -r "markApp.js" .
Binary file ./.git/index matches
./ffdemo/templates_orig/home.html:<script src="/media/assets/js/vendor/jquery.markApp.js" type="text/javascript"></script>
host-4-30:markup
Whiteboard: [qa-]
Assignee | ||
Comment 4•14 years ago
|
||
You must be looking at an old version.
https://github.com/mozilla/markup/blob/master/ffdemo/templates_orig/home.html
Updated•3 years ago
|
Product: Websites → Websites Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•