mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-10-03 01:39:15 +02:00
Use revealing module pattern
ala http://www.adequatelygood.com/JavaScript-Module-Pattern-In-Depth.html Also made the loadTranslations a bit more robust with more error messaged being logged.
This commit is contained in:
parent
0091607618
commit
2ebcf60516
3 changed files with 613 additions and 501 deletions
|
@ -99,7 +99,7 @@ rules:
|
|||
no-with: 2
|
||||
radix: 2
|
||||
vars-on-top: 0
|
||||
wrap-iife: 2
|
||||
wrap-iife: 0
|
||||
yoda: 0
|
||||
|
||||
# Strict
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue