ziahamza/webui-aria2 — pull request #23 by dannywarren (2012-09-05 00:25:38+00:00)
Title: fixing misc javascript syntax errors

* these are nitpicky things that some browsers just step right over silently, and others halt script execution for

* the jquery trim function only works on variables that have been returned as jquery objects, so doing "'foo'.trim()" doesn't work, should be "$.trim('foo')"

* some javascript interpreters (annoyingly) can't handle trailing commas in lists