kadirahq / fast-render

Render you app even before the DDP connection is live. - magic?
MIT License
560 stars 80 forks source link

inject.html needs head tag #147

Open dr-dimitru opened 8 years ago

dr-dimitru commented 8 years ago

I'm getting this error on meteor:

$ meteor
=> Started proxy.                             
=> Started MongoDB.                           
=> Errors prevented startup:                  

   While processing files with templating (for target web.browser):
   assets/packages/meteorhacks_inject-data/lib/inject.html:1: Expected one of: <body>, <head>, <template>
   assets/packages/boilerplate-generator/boilerplate_web.browser.html:1: Expected one of: <body>, <head>, <template>
   assets/packages/boilerplate-generator/boilerplate_web.cordova.html:1: Expected one of: <body>, <head>, <template>

=> Your application has errors. Waiting for file change.

I guess file meteorhacks_inject-data/lib/inject.html should be changed to:

<head>
  <script type="text/inject-data"><%= data %></script>
</head>