HISTORY.md revision 9a007c0d8b040b9a0f130d12e2e8749d2d2e8b1d
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav GlassWidget Std Mod
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass==============
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass * Add convenience methods head(), body(), foot()
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass * Move attribute event listeners to _renderUIStdMod() method so that
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass setStdModContent() can be called on renderUI()
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass * Changed instanceof to Y.instanceOf, to prevent leaks in IE7
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass * Moved to node.insert for content management, since it now handles
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass Strings, Nodes and NodeLists. This also fixes an issue where
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass resetting the content to the existing content (e.g. calling syncUI),
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass would blow away the content in IE. NOTE: Removed _addNodeHTML, and
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass renamed _addNodeRef to _addStdModContent (both private), since one
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass method now handles both strings and node/nodelists.
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass * Setting content to null (or undefined, or NaN), will remove section
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass from the std mod.
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass * No changes.
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass * Changed widget stdmod renderUI/syncUI/bindUI to Y.before, so that they are
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass called before the Widget implementation, and setup the header/body/footer
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass node references for the Widget impl to use.
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass * Setting section content to "" will now create the respective section.
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass * Fixed fillHeight, to work with contentBox height, now that it fills boundingBox
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass * Fixed setStdModContent("markupString", AFTER | BEFORE) so that it uses
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass node.append, node.prepend instead of innerHTML to maintain listeners.
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass * fillHeight is now invoked when height is changed. Was not being invoked
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass because of a typo in the event name.
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass * Cleaned up the way headerContent, bodyContent, footerContent are configured,
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass so that the actual stored value is always accurate, without the need for a
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass getter which talks to the DOM directly.
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass * Recreate sections from TEMPLATE string for each instance, instead of
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass cloning a class level cached Node instance, so that ownerDocument
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass can be set to match the content box.
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass * Replaced use of innerHTML for progressive enhancement use case with
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass document fragment when parsing and then setting headerContent, bodyContent,
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass footerContent in HTML_PARSER impl, to maintain event listeners etc.
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass * No Changes
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass3.0.0PR2 - Initial release
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass--------------------------