Please enable JavaScript to use RhodeCode Enterprise
Commit Description:
fix wrong merge
Commit Description:
fix wrong merge
var ITERATOR = require ( './_wks' )( 'iterator' );
var SAFE_CLOSING = false ;
try {
var riter = [ 7 ][ ITERATOR ]();
riter [ 'return' ] = function () { SAFE_CLOSING = true ; };
// eslint-disable-next-line no-throw-literal
Array . from ( riter , function () { throw 2 ; });
} catch ( e ) { /* empty */ }
module . exports = function ( exec , skipClosing ) {
if ( ! skipClosing && ! SAFE_CLOSING ) return false ;
var safe = false ;
try {
var arr = [ 7 ];
var iter = arr [ ITERATOR ]();
iter . next = function () { return { done : safe = true }; };
arr [ ITERATOR ] = function () { return iter ; };
exec ( arr );
} catch ( e ) { /* empty */ }
return safe ;
};
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