1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 03:12:41 +01:00
phorge-phorge/webroot/rsrc/js/application/uiexample
Joshua Spence 5251f08fb4 Use window.confirm instead of confirm
Summary:
This silences the following JSHint warning:

```
>>> Lint for webroot/rsrc/js/application/uiexample/notification-example.js:

   Warning  (W117) JSHintW117
    'confirm' is not defined.

              39           notification.listen(
              40             'activate',
              41             function() {
    >>>       42               if (!confirm('Close notification?')) {
              43                 JX.Stratcom.context().kill();
              44               }
              45             });

```

Test Plan: `arc lint`

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11065
2014-12-30 02:55:12 -08:00
..
busy-example.js Remove unused JavaScript variables. 2014-06-24 03:27:47 +10:00
gesture-example.js Remove unused JavaScript variables. 2014-06-24 03:27:47 +10:00
JavelinViewExample.js Fix more JavelinView example stuff 2013-07-16 13:46:49 -07:00
notification-example.js Use window.confirm instead of confirm 2014-12-30 02:55:12 -08:00
ReactorButtonExample.js Change double quotes to single quotes in JavaScript. 2014-06-24 03:35:39 +10:00
ReactorCheckboxExample.js Remove unused JavaScript variables. 2014-06-24 03:27:47 +10:00
ReactorFocusExample.js Remove unused JavaScript variables. 2014-06-24 03:27:47 +10:00
ReactorInputExample.js Remove unused JavaScript variables. 2014-06-24 03:27:47 +10:00
ReactorMouseoverExample.js Change double quotes to single quotes in JavaScript. 2014-06-24 03:35:39 +10:00
ReactorRadioExample.js Remove unused JavaScript variables. 2014-06-24 03:27:47 +10:00
ReactorSelectExample.js Remove unused JavaScript variables. 2014-06-24 03:27:47 +10:00
ReactorSendClassExample.js Remove unused JavaScript variables. 2014-06-24 03:27:47 +10:00
ReactorSendPropertiesExample.js Remove unused JavaScript variables. 2014-06-24 03:27:47 +10:00