浏览代码

non-verbose validation (indent fix)

Marin Bezhanov 11 年之前
父节点
当前提交
4dcda5c1ef
共有 1 个文件被更改,包括 8 次插入8 次删除
  1. 8 8
      src/js/bootstrapValidator.js

+ 8 - 8
src/js/bootstrapValidator.js

@@ -1648,14 +1648,14 @@
 
         // Map the field name with validator rules
         fields: null,
-		
-		// Whether to be verbose when validating a field or not.
-		// Possible values:
-		// - true:  when a field has multiple validators, all of them will be checked, and respectively - if errors occur in
-		//			multiple validators, all of them will be displayed to the user
-		// - false: when a field has multiple validators, validation for this field will be terminated upon the first encountered error.
-		// 			Thus, only the very first error message related to this field will be displayed to the user
-		verbose: true
+        
+        // Whether to be verbose when validating a field or not.
+        // Possible values:
+        // - true:  when a field has multiple validators, all of them will be checked, and respectively - if errors occur in
+        //          multiple validators, all of them will be displayed to the user
+        // - false: when a field has multiple validators, validation for this field will be terminated upon the first encountered error.
+        //          Thus, only the very first error message related to this field will be displayed to the user
+        verbose: true
     };
 
     // Available validators