MikeCoder /
MJsonViewer
| 1 | // Copyright © 2017 Tangdongxin |
||
| 2 | |||
| 3 | // Permission is hereby granted, free of charge, to any person obtaining |
||
| 4 | // A copy of this software and associated documentation files (the "Software"), |
||
| 5 | // To deal in the Software without restriction, including without limitation |
||
| 6 | // The rights to use, copy, modify, merge, publish, distribute, sublicense, |
||
| 7 | // And/or sell copies of the Software, and to permit persons to whom the |
||
| 8 | // Software is furnished to do so, subject to the following conditions: |
||
| 9 | |||
| 10 | // The above copyright notice and this permission notice shall be included |
||
| 11 | // In all copies or substantial portions of the Software. |
||
| 12 | |||
| 13 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
||
| 14 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
||
| 15 | // OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
||
| 16 | // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
||
| 17 | // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
||
| 18 | // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE |
||
| 19 | // OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
||
| 20 | |||
| 21 | |||
| 22 | // =========================================== |
||
| 23 | // WORK FLOW |
||
| 24 | // =========================================== |
||
| 25 | const getting = browser.storage.local.get(); |
||
|
0 ignored issues
–
show
|
|||
| 26 | getting.then(onConfig, onError) |
||
|
0 ignored issues
–
show
The variable
onConfig seems to be never declared. If this is a global, consider adding a /** global: onConfig */ 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. Loading history...
The variable
onError seems to be never declared. If this is a global, consider adding a /** global: onError */ 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. Loading history...
|
|||
| 27 | .then(onParse, onError) |
||
|
0 ignored issues
–
show
The variable
onParse seems to be never declared. If this is a global, consider adding a /** global: onParse */ 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. Loading history...
|
|||
| 28 | .then(onRenovate, onError); |
||
|
0 ignored issues
–
show
The variable
onRenovate seems to be never declared. If this is a global, consider adding a /** global: onRenovate */ 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. Loading history...
|
|||
| 29 |
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.