jQuery(function($){
    if (!is_supports_placeholder()){
        $('input, textarea').filter('[placeholder]').example(function(){
            return this.placeholder;
        }, {className: 'notfilled'});
    }

    $.fn.wpcf7NotValidTip = function(message){
        return this.each(function() {
            var into = $(this);
            into.addClass('error-wrapper');
        });
    }
});

function is_supports_placeholder(){
    return document.createElement('input').placeholder === undefined ? false : true;
}
