Skip to content

Commit

Permalink
Element property for retrieve FloatingTips instance
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzos committed Feb 6, 2012
1 parent 1f7f300 commit def1598
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions Source/FloatingTips.js
Expand Up @@ -228,6 +228,15 @@ var FloatingTips = new Class({

});

Elements.implement({

floatingTips: function(options) {
new FloatingTips(this, options);
return this;
}

});

Element.implement({

floatingTips: function(options) {
Expand Down Expand Up @@ -255,11 +264,10 @@ Element.implement({

});

Elements.implement({

floatingTips: function(options) {
new FloatingTips(this, options);
return this;
}

});
Element.Properties.floatingTips = {

get: function(){
return this.retrieve('floatingtip_object');
}

};

0 comments on commit def1598

Please sign in to comment.