Skip to content

Commit f122d78

Browse files
Roger Pedrós Villorbinachristopherthielen
Roger Pedrós Villorbina
authored andcommitted
Added ')' on uiCanExit example (#3442)
1 parent 675c441 commit f122d78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interface.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ export interface Ng1Controller {
695695
* this.originalData = angular.copy(this.data);
696696
*
697697
* this.uiCanExit = function() {
698-
* if (!angular.equals(this.data, this.originalData) {
698+
* if (!angular.equals(this.data, this.originalData)) {
699699
* // Note: This could also return a Promise and request async
700700
* // confirmation using something like ui-bootstrap $modal
701701
* return window.confirm("Data has changed. Exit anyway and lose changes?");

0 commit comments

Comments
 (0)