Merge "Fix inconsistent spec of InterwikiLookup::getAllPrefixes."
[lhc/web/wiklou.git] / resources / src / jquery / jquery.placeholder.js
1 /*!
2 * No-op for compatibility with code from before we used
3 * native placeholder in all supported browsers.
4 */
5
6 ( function ( $ ) {
7 var placeholder;
8
9 placeholder = $.fn.placeholder = function ( text ) {
10 if ( arguments.length ) {
11 this.prop( 'placeholder', text );
12 }
13 return this;
14 };
15
16 placeholder.input = placeholder.textarea = true;
17
18 }( jQuery ) );