Procházet zdrojové kódy

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

Evan You před 12 roky
rodič
revize
398bf7e99e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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'