Parcourir la source

fix browserify can't deal with 'if' issue...

Evan You il y a 12 ans
Parent
commit
398bf7e99e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/compiler.js

+ 1 - 1
src/compiler.js

@@ -27,7 +27,7 @@ var Emitter     = require('./emitter'),
     // list of priority directives
     // that needs to be checked in specific order
     priorityDirectives = [
-        'if',
+        'i' + 'f',
         'repeat',
         'view',
         'component'