util.defineSecureProp was failing in browsers that do not support Object.defineProperty()
- This is untested! Test needed.closure/master
parent
559bb7e0f6
commit
0d84cd829a
|
@ -69,7 +69,7 @@ exports.defineSecureProp = function( obj, prop, value )
|
||||||
{
|
{
|
||||||
if ( Object.defineProperty === undefined )
|
if ( Object.defineProperty === undefined )
|
||||||
{
|
{
|
||||||
func[ prop ] = value;
|
obj[ prop ] = value;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue