Explorar o código

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

Evan You %!s(int64=12) %!d(string=hai) anos
pai
achega
398bf7e99e
Modificáronse 1 ficheiros con 1 adicións e 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'