mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	Enable no-prototype-builtins lint
This commit is contained in:
		@@ -46,7 +46,7 @@ var speechUtteranceChunker = function (utt, settings, callback) {
 | 
			
		||||
        newUtt = new SpeechSynthesisUtterance(chunk);
 | 
			
		||||
        var x;
 | 
			
		||||
        for (x in utt) {
 | 
			
		||||
            if (utt.hasOwnProperty(x) && x !== 'text') {
 | 
			
		||||
            if (Object.hasOwn(utt, x) && x !== 'text') {
 | 
			
		||||
                newUtt[x] = utt[x];
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user