iamceege/tooltipster — pull request #62 by evangun (2013-10-24 11:11:42+00:00)
Title: Added a method to override the defaults at plugin level

Added a method to override the default options without having to override them in the constructor of each tooltip, nor having to edit the lib file itself.

Only tooltips created after this declaration will be affected. Set the defaults with this command :

$.fn.tooltipster('setDefaults', options);

Only 5 lines of code were actually added + 1 line comment, the rest is indentation.