File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 783
783
normalizer = this . settings . normalizer ;
784
784
}
785
785
786
- // If normalizer is defined, then call it to retreive the changed value instead
786
+ // If normalizer is defined, then call it to the changed value instead
787
787
// of using the real one.
788
788
// Note that `this` in the normalizer is `element`.
789
789
if ( normalizer ) {
1241
1241
}
1242
1242
} ,
1243
1243
1244
- metadataRules : function ( element ) {
1245
- if ( ! $ . metadata ) {
1246
- return { } ;
1247
- }
1248
-
1249
- var meta = $ . data ( element . form , 'validator' ) . settings . meta ;
1250
- return meta ?
1251
- $ ( element ) . metadata ( ) [ meta ] :
1252
- $ ( element ) . metadata ( ) ;
1253
- } ,
1254
-
1255
1244
attributeRules : function ( element ) {
1256
1245
var rules = { } ,
1257
1246
$element = $ ( element ) ,
1287
1276
return rules ;
1288
1277
} ,
1289
1278
1279
+ metadataRules : function ( element ) {
1280
+ if ( ! $ . metadata ) {
1281
+ return { } ;
1282
+ }
1283
+
1284
+ var meta = $ . data ( element . form , 'validator' ) . settings . meta ;
1285
+ return meta ?
1286
+ $ ( element ) . metadata ( ) [ meta ] :
1287
+ $ ( element ) . metadata ( ) ;
1288
+ } ,
1289
+
1290
1290
dataRules : function ( element ) {
1291
1291
var rules = { } ,
1292
1292
$element = $ ( element ) ,
You can’t perform that action at this time.
0 commit comments