Please enable JavaScript to use RhodeCode Enterprise
Commit Description:
fig bugs in login report
Commit Description:
fig bugs in login report
// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)
var dP = require ( './_object-dp' );
var $export = require ( './_export' );
var anObject = require ( './_an-object' );
var toPrimitive = require ( './_to-primitive' );
// MS Edge has broken Reflect.defineProperty - throwing instead of returning false
$export ( $export . S + $export . F * require ( './_fails' )( function () {
// eslint-disable-next-line no-undef
Reflect . defineProperty ( dP . f ({}, 1 , { value : 1 }), 1 , { value : 2 });
}), 'Reflect' , {
defineProperty : function defineProperty ( target , propertyKey , attributes ) {
anObject ( target );
propertyKey = toPrimitive ( propertyKey , true );
anObject ( attributes );
try {
dP . f ( target , propertyKey , attributes );
return true ;
} catch ( e ) {
return false ;
}
}
});
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository permissions settings