mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-05-02 14:36:08 -04:00
refactored JS:
- moved from global namespace into anonymous function - as onclick has no direct access to the zerobin methods, the events are now bound in the init() method via bindEvents() - to simplify maintenance, the functions were wrapped into 3 objects: zerobin (display logic, event handling), filter (compression, encryption) and helper (stateless utilities) - some CSS and template adjustements were also done
This commit is contained in:
parent
a2af88a36e
commit
3099e10dfa
5 changed files with 905 additions and 645 deletions
1515
js/zerobin.js
1515
js/zerobin.js
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue