r2723 - removed comments following option defaults - better documented in planning wiki
Author: scottjehl
Date: Fri Jun 12 08:57:51 2009
New Revision: 2723
Modified:
branches/labs/selectmenu/ui.selectmenu.js
Log:
removed comments following option defaults - better documented in planning
wiki
Modified: branches/labs/selectmenu/ui.selectmenu.js
==============================================================================
--- branches/labs/selectmenu/ui.selectmenu.js (original)
+++ branches/labs/selectmenu/ui.selectmenu.js Fri Jun 12 08:57:51 2009
@@ -368,15 +368,14 @@
version: "@VERSION",
eventPrefix: "selectmenu",
defaults: {
- value: null, //set selected value to an index (accepts index number)
- transferClasses: true, //transfer classes from select
- style: 'popup', //also avail: 'dropdown'
- width: null, //defaults to select width
- menuWidth: null, //sets menu body separately. number value or 'widest'
- handleWidth: 26, //width self the icon arrow block will hang off the
edge in a 'popup' style menu
- icons: null, //array of object with "el" and "icon" properties. "el" is
a jQuery selector, "icon" is a jQuery UI framework icon class
("ui-icon-script")
- format: null //array of objects with find and rep properties. Each will
run in order and perform find/replace formatting.
- //for example: format: [{find:/^([a-zA-Z0-9 ]+)\-/g, rep: '<span
class="header">$1</span>'}
+ value: null,
+ transferClasses: true,
+ style: 'popup',
+ width: null,
+ menuWidth: null,
+ handleWidth: 26,
+ icons: null,
+ format: null
}
});