﻿    //Text Limitator v1.0
    
    var txtLimitator = {
    
        limitar : {
            
            init : function(select, v){
            
                var $obj = $(select);
                $obj.each(function(){
                    txt = '';
                    txt = jQuery.trim($(this).text());
                    if (txt.length > v)
                    {
                        $(this).text(txt.substr(0,v) + '...')
                    }
                });
                    
            }
            
        }
    
    }
