Please enable JavaScript to use RhodeCode Enterprise
Commit Description:
Update README.rdoc
Commit Description:
Update README.rdoc
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
var toIObject = require ( './_to-iobject' );
var gOPN = require ( './_object-gopn' ). f ;
var toString = {}. toString ;
var windowNames = typeof window == 'object' && window && Object . getOwnPropertyNames
? Object . getOwnPropertyNames ( window ) : [];
var getWindowNames = function ( it ) {
try {
return gOPN ( it );
} catch ( e ) {
return windowNames . slice ();
}
};
module . exports . f = function getOwnPropertyNames ( it ) {
return windowNames && toString . call ( it ) == '[object Window]' ? getWindowNames ( it ) : gOPN ( toIObject ( it ));
};
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