Please enable JavaScript to use RhodeCode Enterprise
Commit Description:
merge
Commit Description:
merge
"use strict" ;
var d = require ( "d" );
var create = Object . create , defineProperty = Object . defineProperty , objPrototype = Object . prototype ;
var created = create ( null );
module . exports = function ( desc ) {
var postfix = 0 , name , ie11BugWorkaround ;
while ( created [ desc + ( postfix || "" )]) ++ postfix ;
desc += postfix || "" ;
created [ desc ] = true ;
name = "@@" + desc ;
defineProperty (
objPrototype ,
name ,
d . gs ( null , function ( value ) {
// For IE11 issue see:
// https://connect.microsoft.com/IE/feedbackdetail/view/1928508/
// ie11-broken-getters-on-dom-objects
// https://github.com/medikoo/es6-symbol/issues/12
if ( ie11BugWorkaround ) return ;
ie11BugWorkaround = true ;
defineProperty ( this , name , d ( value ));
ie11BugWorkaround = false ;
})
);
return name ;
};
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