Member since 12/20/2010

2 snippets

1551 profile views

0 Comment(s) Posted

View their favorites



first submission:submitting first snipplet

pmw57's Recent SnippetsTagged js

« Prev 1 Next »
Code from updated so that most jslint issues are resolved, and updated the return to use a guard condition instead of a separate if statement.
1 888 posted 11 years ago by pmw57
Standard hasClass, addClass, and removeClass functions. - reworked so that jsLint is happy about them - removeClass function trims things after removing a class name - tests help to ensure that all common use-cases are covered
2 890 posted 11 years ago by pmw57
« Prev 1 Next »