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