Source

pancake / pancake-web / pancake / web / templates / drawer.mustache

Full commit
<!DOCTYPE html>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/.  -->
<html class="no-js" lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <title>Pancake: Drawer</title>
  <meta name="viewport" content="initial-scale=1, width=250">
  <link rel="stylesheet" href="/theme-origami/core/index.css?v={{v}}" type="text/css">
  <link rel="stylesheet" href="/theme-origami/native-app/index.css?v={{v}}" type="text/css">
  <link rel="stylesheet" href="/theme-origami/drawer-accordion-app/index.css?v={{v}}" type="text/css">
  {{#platform}}
  {{#ios}}
  <!-- script src="http://debug.phonegap.com/target/target-script-min.js#pancake-6543-drawer"></script -->
  {{/ios}}
  {{/platform}}
  <script type="text/javascript">
    // Replace `no-js` class with `js` class. Useful for preventing flash
    // of unscripted content accessibly.
    var h = document.getElementsByTagName('html')[0];
    h.className = h.className.replace('no-js', 'js');
  </script>
</head>
<body>
<ul id="drawer" class="accordion js-invisible">
</ul>
<!-- <div id="edit-toolbar">
  <span title="Remove" class="button button--cell button--cell-remove" data-action="remove"></span>
</div> -->

<div id="connectionOverlay" class="overlay"></div>
{{> pancake/web/templates/config}}
<script src="./js/vendor/require.js?v={{v}}"></script>
<script>
  config.appName = "drawer";
  console.log("menu:bootstrapping for platform: ", config.platform, config);
  require({
    // configure our AMD loader
    baseUrl: './js',
    paths: config.packages,
    waitSeconds: 20,
    urlArgs: "r={{v}}" // r is a cache-busting token
  }, ['order!lib/common', 'order!drawer.app']);
</script>
</body>
</html>