mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-05-15 04:42:16 -04:00
implementing ESlint suggestions
This commit is contained in:
parent
5e070db6a1
commit
2db412873b
9 changed files with 24 additions and 23 deletions
|
@ -28,8 +28,8 @@ describe('PasteViewer', function () {
|
|||
$('#placeholder').hasClass('hidden') &&
|
||||
$('#prettymessage').hasClass('hidden') &&
|
||||
$('#plaintext').hasClass('hidden') &&
|
||||
$.PrivateBin.PasteViewer.getFormat() == format &&
|
||||
$.PrivateBin.PasteViewer.getText() == ''
|
||||
$.PrivateBin.PasteViewer.getFormat() === format &&
|
||||
$.PrivateBin.PasteViewer.getText() === ''
|
||||
);
|
||||
$.PrivateBin.PasteViewer.run();
|
||||
results.push(
|
||||
|
@ -48,9 +48,9 @@ describe('PasteViewer', function () {
|
|||
results.push(
|
||||
$('#placeholder').hasClass('hidden') &&
|
||||
!$.PrivateBin.PasteViewer.isPrettyPrinted() &&
|
||||
$.PrivateBin.PasteViewer.getText() == text
|
||||
$.PrivateBin.PasteViewer.getText() === text
|
||||
);
|
||||
if (format == 'markdown') {
|
||||
if (format === 'markdown') {
|
||||
results.push(
|
||||
$('#prettymessage').hasClass('hidden') &&
|
||||
!$('#plaintext').hasClass('hidden')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue