Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var Application = (function(){
- var self = this;
- this.hello = function(){
- console.log("hello");
- };
- //Den här får du kolla på
- this.close = function(e) {
- console.log("close");
- console.log(self);
- console.log(self.parentNode);
- //self.parentNode.removeChild(self);
- //this.parentNode.parentNode.parentNode.removeChild(this.parentNode.parentNode);
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement