File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 112112 var jqd = $ . fn . data ;
113113
114114 $ . fn . data = function ( prop , value ) {
115- var pu = prop === undefined ,
116- vu = value === undefined ;
115+ var pUndef = prop === undefined ,
116+ vUndef = value === undefined ;
117117
118- if ( pu || vu ) {
118+ if ( pUndef || vUndef ) {
119119 var ret ,
120120 nsret ;
121121 //if no args are passed, a data hash is expected. Remap non-namespaced props
122- if ( pu ) {
122+ if ( pUndef ) {
123123 ret = jqd . call ( this ) ;
124124 $ . each ( ret , function ( i ) {
125125 var nsIndex = i . indexOf ( $ . mobile . ns ) ;
129129 } ) ;
130130 }
131131 //if it's a prop get, try namepaced version if prop is undefined
132- else if ( vu ) {
132+ else if ( vUndef ) {
133133 ret = jqd . call ( this , prop ) ;
134134 if ( ret === undefined ) {
135135 nsret = jqd . call ( this , $ . mobile . ns + prop ) ;
You can’t perform that action at this time.
0 commit comments