Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var mylib;
- (function() {
- var variable1 = null;
- var variable2 = null;
- var variable3 = null;
- window.mylib = {
- func1: function(event) {
- },
- func2: function() {
- },
- func3: function() {
- }
- };
- function privateFunc1() {
- }
- function privateFunc2() {
- }
- function privateFunc3() {
- }
- addEventListener("storage", mylib.func1);
- addEventListener("unload", mylib.func1);
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement