• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Whenever you search in PBworks or on the Web, Dokkio Sidebar (from the makers of PBworks) will run the same search in your Drive, Dropbox, OneDrive, Gmail, Slack, and browsed web pages. Now you can find what you're looking for wherever it lives. Try Dokkio Sidebar for free.

View
 

Coding standards

This version was saved 14 years, 2 months ago View current version     Page history
Saved by Richard D. Worth
on March 24, 2009 at 9:32:17 am
 

This page is still being fleshed out.

 

  • No browser checks (unless completely necessary) - use jQuery.support instead
  • Plugins must work regardless of what options are passed to init.  All options are truly optional and may be changed at any time.
  • Use jQuery.ui.keyCode for all keyboard events.
  • Do not abbreviate variable names; the bytes will be saved when compressed.
  • Use curly braces for all if statements.
  • do not modify options that a user passes in, except when they are used to reflect the state of the plugin
  • all default values must be explicit
  • no default value should be undefined. At the least it should be null or false

Comments (0)

You don't have permission to comment on this page.