You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const foo = 'Whatever national crop flips the window. The cartoon reverts within the screw. Whatever wizard constrains a helpful ally. The counterpart ascends!';
1703
+
1704
+
// bad
1705
+
$.ajax({ method: 'POST', url: 'https://airbnb.com/', data: { name: 'John' } }).done(() => console.log('Congratulations!')).fail(() => console.log('You have failed this city.'));
1706
+
1707
+
// good
1708
+
const foo = 'Whatever national crop flips the window. The cartoon reverts within the screw. ' +
1709
+
'Whatever wizard constrains a helpful ally. The counterpart ascends!';
1710
+
1711
+
// good
1712
+
$.ajax({
1713
+
method: 'POST',
1714
+
url: 'https://airbnb.com/',
1715
+
data: { name: 'John' },
1716
+
})
1717
+
.done(() => console.log('Congratulations!'))
1718
+
.fail(() => console.log('You have failed this city.'));
0 commit comments