Skip to content

Commit 20bf07f

Browse files
committed
docs: move comment to function it's assigned
1 parent 6e771ca commit 20bf07f

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

demos/aurelia/src/examples/slickgrid/example05.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,13 +425,13 @@ export class Example05 {
425425
}
426426

427427
// YOU CAN CHOOSE TO PREVENT EVENT FROM BUBBLING IN THE FOLLOWING 3x EVENTS
428-
// note however that internally the cancelling the search is more of a rollback
429428
handleOnBeforeSort(/* e: Event */) {
430429
// e.preventDefault();
431430
// return false;
432431
return true;
433432
}
434433

434+
// note that internally the cancelling the search is more of a rollback
435435
handleOnBeforeSearchChange(/* e: Event */) {
436436
// e.preventDefault();
437437
// return false;

demos/aurelia/src/examples/slickgrid/example31.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,13 +393,13 @@ export class Example31 {
393393
}
394394

395395
// YOU CAN CHOOSE TO PREVENT EVENT FROM BUBBLING IN THE FOLLOWING 3x EVENTS
396-
// note however that internally the cancelling the search is more of a rollback
397396
handleOnBeforeSort(_e: Event) {
398397
// e.preventDefault();
399398
// return false;
400399
return true;
401400
}
402401

402+
// note that internally the cancelling the search is more of a rollback
403403
handleOnBeforeSearchChange(_e: Event) {
404404
// e.preventDefault();
405405
// return false;

demos/react/src/examples/slickgrid/Example05.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,13 +445,13 @@ const Example5: React.FC = () => {
445445
}
446446

447447
// YOU CAN CHOOSE TO PREVENT EVENT FROM BUBBLING IN THE FOLLOWING 3x EVENTS
448-
// note however that internally the cancelling the search is more of a rollback
449448
function handleOnBeforeSort(_e: Event) {
450449
// e.preventDefault();
451450
// return false;
452451
return true;
453452
}
454453

454+
// note that internally the cancelling the search is more of a rollback
455455
function handleOnBeforeSearchChange(_e: Event) {
456456
// e.preventDefault();
457457
// return false;

demos/react/src/examples/slickgrid/Example31.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,13 +395,13 @@ const Example31: React.FC = () => {
395395
}
396396

397397
// YOU CAN CHOOSE TO PREVENT EVENT FROM BUBBLING IN THE FOLLOWING 3x EVENTS
398-
// note however that internally the cancelling the search is more of a rollback
399398
function handleOnBeforeSort(_e: Event) {
400399
// e.preventDefault();
401400
// return false;
402401
return true;
403402
}
404403

404+
// note that internally the cancelling the search is more of a rollback
405405
function handleOnBeforeSearchChange(_e: Event) {
406406
// e.preventDefault();
407407
// return false;

demos/vue/src/components/Example05.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,13 +433,13 @@ function throwPageChangeError() {
433433
}
434434
435435
// YOU CAN CHOOSE TO PREVENT EVENT FROM BUBBLING IN THE FOLLOWING 3x EVENTS
436-
// note however that internally the cancelling the search is more of a rollback
437436
function handleOnBeforeSort(/* e: Event */) {
438437
// e.preventDefault();
439438
// return false;
440439
return true;
441440
}
442441
442+
// note that internally the cancelling the search is more of a rollback
443443
function handleOnBeforeSearchChange(/* e: Event */) {
444444
// e.preventDefault();
445445
// return false;

frameworks/angular-slickgrid/src/demos/examples/example05.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,13 +427,13 @@ export class Example5Component implements OnInit {
427427
}
428428

429429
// YOU CAN CHOOSE TO PREVENT EVENT FROM BUBBLING IN THE FOLLOWING 3x EVENTS
430-
// note however that internally the cancelling the search is more of a rollback
431430
handleOnBeforeSort(_e: Event) {
432431
// e.preventDefault();
433432
// return false;
434433
return true;
435434
}
436435

436+
// note that internally the cancelling the search is more of a rollback
437437
handleOnBeforeSearchChange(_e: Event) {
438438
// e.preventDefault();
439439
// return false;

0 commit comments

Comments
 (0)