calendar JavaScript needs refactoring to test

Bug #803548 reported by Deryck Hodge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

lib/lp/app/javascript/calendar.js is impossible to test in YUI test. It has the one public function add_calendar_widgets and a couple private ones that are used inside that function. The module basically takes a node and adds a date picker calendar to it. The module needs to be rewritten into smaller functions that are easily testable if we want to get this tested under YUI test.

I'll gladly mentor anyone who wants to do some JavaScript coding on Launchpad to fix this. It would be a nice way into Launchpad, YUI, or YUI test for someone with those interests.

Deryck Hodge (deryck)
tags: added: javascript
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.