1
vote
3answers
84 views

Improving Javascript code of a failed test

I just failed in a JavaScript test and I would really appreciate some comments of how I can improve so I can keep learning. The test was about making a form interactive, where the code should do ...
1
vote
2answers
56 views

Reduce JavaScript code. Double event, selector into one

Any idea how to write this code better."the html is nested tabs" Two selectors and two similar events, in a function would be better or a pattern to reduce lines. eg .jsbin $(function() { var ...
1
vote
0answers
216 views

Could this JavaScript / PhoneGap code be improved to use module, or other, pattern for better readability and maintainbility?

I have a PhoneGap application that I wrote some time ago. After looking Doug Crockford's video seminar JavaScript: The Good Parts (http://www.youtube.com/watch?v=hQVTIJBZook) I was just wondering if ...
0
votes
0answers
155 views

Creating boilerplate for jQuery plugins

I've been writing some smaller jQuery plugins lately, and I've been thinking of writing up some boilerplate that I can use when writing new ones. I have code that works (for now), but I want to share ...
2
votes
1answer
58 views

Request for Review: genContent Plugin

WHAT: Plugin for inserting content WHY: Fallback for CSS generated content for IE Please review and suggest optimization tips and or improvement of code. See the TODO in code and offer advice. ...