Explorar el Código

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

Evan You hace 12 años
padre
commit
398bf7e99e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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'