Closed
Bug 1039638
Opened 12 years ago
Closed 12 years ago
Move template overrides into external files
Categories
(Webmaker Graveyard :: Events, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gvn, Assigned: jon)
References
Details
(Whiteboard: [events] [july25])
Attachments
(1 file)
Right now jshint is throwing a lot of errors, mostly due to the inline templates here:
https://github.com/mozilla/webmaker-events-2/blob/master/app/js/directives.js#L315
If possible, please make these templates external so that we can get `grunt jshint` passing again. Also, if you can fixup any other jshint errors that would be fantastic! Thanks!
| Reporter | ||
Comment 1•12 years ago
|
||
Also, since that code isn't part of the directives module it shouldn't go in directives.js.
| Assignee | ||
Comment 2•12 years ago
|
||
| Assignee | ||
Updated•12 years ago
|
Blocks: 1038911
Summary: Fixup jshint errors and externalize templates → Move template overrides into external files
| Assignee | ||
Updated•12 years ago
|
Whiteboard: [july25] → [events] [july25]
| Reporter | ||
Comment 3•12 years ago
|
||
Comment on attachment 8457415 [details] [review]
https://github.com/mozilla/webmaker-events-2/pull/144
Excellent! Although Travis will still fail if that's our end goal (and it should be!).
You'll need to run `grunt clean` so the JS is beautified and fixup a couple more jshint errors (`grunt jshint`).
Once `grunt validate` passes we're all good!
Attachment #8457415 -
Flags: review?(gavin) → review-
| Reporter | ||
Comment 4•12 years ago
|
||
End goal being: Travis passing. ;)
| Reporter | ||
Comment 5•12 years ago
|
||
Also, FWIW we can just remove those 2 alerts. They are basically worthless because they're being sent objects.
| Reporter | ||
Comment 6•12 years ago
|
||
EG:
[L130:C11] W117: 'alert' is not defined.
alert(error);
[L152:C11] W117: 'alert' is not defined.
alert(error);
| Reporter | ||
Updated•12 years ago
|
Attachment #8457415 -
Flags: review- → review+
Comment 7•12 years ago
|
||
Commit pushed to master at https://github.com/mozilla/webmaker-events-2
https://github.com/mozilla/webmaker-events-2/commit/3d68445c7941f6bd0365588b948933f1e16204d3
Fix bug 1039638 - Move template overrides into external files
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•