META-INF.resources.butterfaces-dist-js.butterfaces-multiline-placeholder.jquery.min.js Maven / Gradle / Ivy
!function(e){e.fn.multilinePlaceholder=function(){return this.each(function(){var t=e(this).find("textarea"),n=t.attr("placeholder").replace(/\\n/g,"\n");t.attr("placeholder",n)})}}(jQuery);
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJ1dHRlcmZhY2VzLW11bHRpbGluZS1wbGFjZWhvbGRlci5qcXVlcnkudHMiXSwibmFtZXMiOlsiJCIsImZuIiwibXVsdGlsaW5lUGxhY2Vob2xkZXIiLCJ0aGlzIiwiZWFjaCIsIiR0ZXh0YXJlYSIsImZpbmQiLCJhdHRyIiwicmVwbGFjZSIsImpRdWVyeSJdLCJtYXBwaW5ncyI6IkNBRUMsU0FBVUEsR0FFUEEsRUFBRUMsR0FBR0MscUJBQXVCLFdBRXhCLE9BQU9DLEtBQUtDLEtBQUssV0FDYixJQUNJQyxFQURtQkwsRUFBRUcsTUFDUUcsS0FBSyxZQUVsQ0osRUFEY0csRUFBVUUsS0FBSyxlQUNNQyxRQUFRLE9BQVEsTUFDdkRILEVBQVVFLEtBQUssY0FBZUwsTUFUMUMsQ0FhRU8iLCJmaWxlIjoiYnV0dGVyZmFjZXMtbXVsdGlsaW5lLXBsYWNlaG9sZGVyLmpxdWVyeS5taW4uanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLy88cmVmZXJlbmNlIHBhdGg9XCIuLi8uLi9ub2RlX21vZHVsZXMvQHR5cGVzL2pxdWVyeS9pbmRleC5kLnRzXCIvPlxuXG4oZnVuY3Rpb24gKCQ6IGFueSkge1xuICAgIC8vIGV4dGVuZCBqUXVlcnkgLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS1cbiAgICAkLmZuLm11bHRpbGluZVBsYWNlaG9sZGVyID0gZnVuY3Rpb24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