Browse Source

move on into directives

dev
Evan You 9 years ago
parent
commit
fe13e21d1f
  1. 1
      src/compiler/codegen/directives/index.js
  2. 0
      src/compiler/codegen/directives/on.js
  3. 3
      src/compiler/codegen/index.js

1
src/compiler/codegen/directives/index.js

@ -3,6 +3,7 @@ import { show } from './show'
import { html } from './html'
import { ref } from './ref'
import { el } from './el'
export { genHandlers } from './on'
export const directives = {
model,

0
src/compiler/codegen/events.js → src/compiler/codegen/directives/on.js

3
src/compiler/codegen/index.js

@ -1,5 +1,4 @@
import { genHandlers } from './events'
import { genDirectives } from './directives/index'
import { genDirectives, genHandlers } from './directives/index'
import { isReservedTag } from '../../runtime/util/dom'
export function generate (ast) {

Loading…
Cancel
Save