Przeglądaj źródła

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

Evan You 12 lat temu
rodzic
commit
398bf7e99e
1 zmienionych plików z 1 dodań i 1 usunięć
  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'