su

Results 4 issues of su

avalon.validation.js avalon.validation.old.js 一样 ``` javascript alpha_dash: { message: '必须为字母或数字及下划线等特殊字符', validate: function(value, data, next) { next(/^[a-z0-9_\-]+$/i.test(value)) return value } } ```

the current answer is duplicated to the question [Is JavaScript block-scoped or function scoped?](https://github.com/ajzawawi/js-interview-prep#general-questions)

使用0.9时通过a标签做的路由不能正确切换状态,只更新地址栏中的location, 而使用0.8时能正确切换