zerovm / zpm

ZeroVM Package Manager
Apache License 2.0
6 stars 11 forks source link

index.html template rendering seems to be broken #167

Closed larsbutler closed 10 years ago

larsbutler commented 10 years ago

When creating a very basic "hello world!" zapp, I notice this in the rendered index.html output:

<!DOCTYPE html>
<html>
  <head>
    <title>The hello App</title>

    <link rel="stylesheet" href="style.css" />

    <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"
            type="text/javascript"></script>
    <script src="zerocloud.js" type="text/javascript"></script>

    <script type="text/javascript">
      $(document).ready(function () {
          client = new ZeroCloudClient();

              var opts = {{ auth_opts }};   //  <---- template is not rendering!

          $('#run').click(function () {
              client.auth(opts, function () {
                  $.getJSON('hello.json', funct