1
0
Fork 0

util.defineSecureProp was failing in browsers that do not support Object.defineProperty()

- This is untested! Test needed.
closure/master
Mike Gerwitz 2010-12-20 10:04:11 -05:00
parent 559bb7e0f6
commit 0d84cd829a
1 changed files with 1 additions and 1 deletions

View File

@ -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
{ {