Skip to content
This repository has been archived by the owner on Dec 25, 2017. It is now read-only.

Commit

Permalink
🐛 bug(validate): fix initial compilation error
Browse files Browse the repository at this point in the history
Closes #288
  • Loading branch information
kazupon committed Aug 19, 2016
1 parent 6ae8be2 commit fa99a91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/const.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const VALIDATE_UPDATE = '__vue-validator-validate-update__'
export const PRIORITY_VALIDATE = 16
export const PRIORITY_VALIDATE = 4096
export const PRIORITY_VALIDATE_CLASS = 32
export const REGEX_FILTER = /[^|]\|[^|]/
export const REGEX_VALIDATE_DIRECTIVE = /^v-validate(?:$|:(.*)$)/
Expand Down
3 changes: 1 addition & 2 deletions src/directives/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { warn, each } from '../util'


export default function (Vue) {
const vIf = Vue.directive('if')
const FragmentFactory = Vue.FragmentFactory
const parseDirective = Vue.parsers.directive.parseDirective
const {
Expand Down Expand Up @@ -31,7 +30,7 @@ export default function (Vue) {
Vue.directive('validate', {
deep: true,
terminal: true,
priority: vIf.priority + PRIORITY_VALIDATE,
priority: PRIORITY_VALIDATE,
params: ['group', 'field', 'detect-blur', 'detect-change', 'initial', 'classes'],

paramWatchers: {
Expand Down

0 comments on commit fa99a91

Please sign in to comment.