Skip to content

Commit

Permalink
Build for fix #2531929 - cloning attribute hosts with node values
Browse files Browse the repository at this point in the history
  • Loading branch information
sdesai committed Mar 27, 2012
1 parent 0b4bad3 commit 99bbfe1
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
10 changes: 9 additions & 1 deletion build/attribute-base/attribute-base-debug.js
Expand Up @@ -49,8 +49,16 @@ YUI.add('attribute-base', function(Y) {
* @uses AttributeCore
* @uses AttributeEvents
* @uses AttributeExtras
*/
*/
var Attribute = function() {

// Fix #2531929
// Complete hack, to make sure the first clone of a node value in IE doesn't doesn't hurt state - maintains 3.4.1 behavior.
// Too late in the release cycle to do anything about the core problem.
// The root issue is that cloning a Y.Node instance results in an object which barfs in IE, when you access it's properties (since 3.3.0).
this._ATTR_E_FACADE = null;
this._yuievt = null;

Y.AttributeCore.apply(this, arguments);
Y.AttributeEvents.apply(this, arguments);
Y.AttributeExtras.apply(this, arguments);
Expand Down
2 changes: 1 addition & 1 deletion build/attribute-base/attribute-base-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion build/attribute-base/attribute-base.js
Expand Up @@ -49,8 +49,16 @@ YUI.add('attribute-base', function(Y) {
* @uses AttributeCore
* @uses AttributeEvents
* @uses AttributeExtras
*/
*/
var Attribute = function() {

// Fix #2531929
// Complete hack, to make sure the first clone of a node value in IE doesn't doesn't hurt state - maintains 3.4.1 behavior.
// Too late in the release cycle to do anything about the core problem.
// The root issue is that cloning a Y.Node instance results in an object which barfs in IE, when you access it's properties (since 3.3.0).
this._ATTR_E_FACADE = null;
this._yuievt = null;

Y.AttributeCore.apply(this, arguments);
Y.AttributeEvents.apply(this, arguments);
Y.AttributeExtras.apply(this, arguments);
Expand Down

0 comments on commit 99bbfe1

Please sign in to comment.