Userscript iFrame
This commit is contained in:
1 parent
b129a39c3d
commit
4a6db54e09
11 files changed
+180
-89
No files matched your search
@@ -11,6 +11,7 @@ var BlockBase = new Class({
|
||||
self.page = parent;
|
||||
|
||||
self.create();
|
||||
|
||||
},
|
||||
|
||||
create: function(){
|
||||
@@ -20,6 +21,14 @@ var BlockBase = new Class({
|
||||
getParent: function(){
|
||||
return this.page
|
||||
},
|
||||
|
||||
hide: function(){
|
||||
this.el.hide();
|
||||
},
|
||||
|
||||
show: function(){
|
||||
this.el.show();
|
||||
},
|
||||
|
||||
toElement: function(){
|
||||
return this.el
|
||||
@@ -27,4 +36,4 @@ var BlockBase = new Class({
|
||||
|
||||
});
|
||||
|
||||
var Block = {}
|
||||
var Block = BlockBase
|
||||
Reference in new issue
Block a user