浏览代码

add comment

Robin Herbots 14 年之前
父节点
当前提交
2f65841cbb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      jquery.inputmask.js

+ 1 - 1
jquery.inputmask.js

@@ -123,7 +123,7 @@ This plugin is based on the masked input plugin written by Josh Bush (digitalbus
                             }
                         });
                         break;
-                    case "getemptymask":
+                    case "getemptymask": //return the default (empty) mask value, usefull for setting the default value in validation
                         if(this.data('inputmask'))
                     		return this.data('inputmask')['_buffer'].join('');
                     	else return "";