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

Commit

Permalink
fix(validate): compatible vue 1.0.19
Browse files Browse the repository at this point in the history
Closes #176
  • Loading branch information
kazupon committed Mar 25, 2016
1 parent 9f99f52 commit 655156b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/directives/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,12 @@ export default function (Vue) {
const parseDirective = Vue.parsers.directive.parseDirective
const REGEX_FILTER = /[^|]\|[^|]/

// register `v-validate` as terminal directive
Vue.compiler.terminalDirectives.push('validate')


/**
* `v-validate` directive
*/

Vue.directive('validate', {
priority: vIf.priority + 1,

params: ['group', 'field', 'detect-blur', 'detect-change', 'initial'],

paramWatchers: {
Expand Down

0 comments on commit 655156b

Please sign in to comment.