File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2399
2399
const foo = jsonData && jsonData.foo && jsonData.foo.bar && jsonData.foo.bar.baz && jsonData.foo.bar.baz.quux && jsonData.foo.bar.baz.quux.xyzzy;
2400
2400
2401
2401
// bad
2402
- $.ajax({ method: 'POST', url: 'https://diegoteliz.com /', data: { name: 'John' } }).done(() => console.log('Congratulations!')).fail(() => console.log('You have failed this city.'));
2402
+ $.ajax({ method: 'POST', url: 'https://intercity.co.nz /', data: { name: 'John' } }).done(() => console.log('Congratulations!')).fail(() => console.log('You have failed this city.'));
2403
2403
2404
2404
// good
2405
2405
const foo = jsonData
2412
2412
// good
2413
2413
$.ajax({
2414
2414
method: 'POST',
2415
- url: 'https://diegoteliz.com /',
2415
+ url: 'https://intercity.co.nz /',
2416
2416
data: { name: 'John' },
2417
2417
})
2418
2418
.done(() => console.log('Congratulations!'))
You can’t perform that action at this time.
0 commit comments