1 | /** |
||
2 | * @link https://github.com/terabytesoft |
||
3 | * @copyright Copyright (c) 2018 TerabyteSoft S.A. |
||
4 | * @license https://github.com/terabytesoft/asset-bootbox/blob/master/LICENSE.md |
||
5 | * |
||
6 | * @author: Wilmer Arámbula <[email protected]> |
||
7 | */ |
||
8 | |||
9 | /*********************************************************************************************************************** |
||
10 | * BootBox * |
||
11 | ***********************************************************************************************************************/ |
||
12 | (function () { |
||
13 | yii.confirm = function(message, ok, cancel) { |
||
0 ignored issues
–
show
|
|||
14 | bootbox.confirm(message, function(result) { |
||
0 ignored issues
–
show
The variable
bootbox seems to be never declared. If this is a global, consider adding a /** global: bootbox */ comment.
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed. To learn more about declaring variables in Javascript, see the MDN. ![]() |
|||
15 | if (result) { !ok || ok(); } else { !cancel || cancel(); } |
||
16 | }); |
||
17 | } |
||
18 | })(); |
||
19 |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.