Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
fileRepository.createUploadAdapter = loader => {
return new UploadAdapterMock( loader );
};
}
fileRepository.createUploadAdapter = newLoader => {
loader = newLoader;
const adapterMock = new UploadAdapterMock( loader );
adapterMocks.push( adapterMock );
return adapterMock;
};
}
fileRepository.createUploadAdapter = newLoader => {
loader = newLoader;
adapterMock = new UploadAdapterMock( loader );
return adapterMock;
};
} );
editor.plugins.get( 'FileRepository' ).createUploadAdapter = loader => {
const adapterMock = new UploadAdapterMock( loader );
createProgressButton( loader, adapterMock );
return adapterMock;
};
} )
fileRepository.createUploadAdapter = loader => {
return new UploadAdapterMock( loader );
};
}