standard header in about page (#676)
[openemr.git] / public / assets / jquery-ui-1-12-1 / ui / data.js
blob1a14ed1cf2fe0a07e5b41be818bad2ca7aab7608
1 /*!
2  * jQuery UI :data 1.12.1
3  * http://jqueryui.com
4  *
5  * Copyright jQuery Foundation and other contributors
6  * Released under the MIT license.
7  * http://jquery.org/license
8  */
10 //>>label: :data Selector
11 //>>group: Core
12 //>>description: Selects elements which have data stored under the specified key.
13 //>>docs: http://api.jqueryui.com/data-selector/
15 ( function( factory ) {
16         if ( typeof define === "function" && define.amd ) {
18                 // AMD. Register as an anonymous module.
19                 define( [ "jquery", "./version" ], factory );
20         } else {
22                 // Browser globals
23                 factory( jQuery );
24         }
25 } ( function( $ ) {
26 return $.extend( $.expr[ ":" ], {
27         data: $.expr.createPseudo ?
28                 $.expr.createPseudo( function( dataName ) {
29                         return function( elem ) {
30                                 return !!$.data( elem, dataName );
31                         };
32                 } ) :
34                 // Support: jQuery <1.8
35                 function( elem, i, match ) {
36                         return !!$.data( elem, match[ 3 ] );
37                 }
38 } );
39 } ) );