HuasoFoundries/systemjs-riot

View on GitHub
example/requirejs_example.html

Summary

Maintainability
Test Coverage
<!doctype html>
<html>

<head>
  <title>AMD RequireJS example</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <link rel="stylesheet" href="/example/css/styles.css">
  <script src="/node_modules/requirejs/require.js"></script>
  <script src="/example/requirejs.config.js"></script>
  <script>
  require(['js/app']);

  </script>
</head>

<body>
  <div class="menu">
    <a href="/example/requirejs_example.html">RequireJS Example</a>
    <a href="/example/requirejs_bundled.html">RequireJS all-in-one-file</a>
    <a href="/example/systemjs_example.html">SystemJS Example</a>
    <a href="/example/systemjs_precompiled.html">SystemJS + precompiled tags</a>
  </div>
  <div class="tagcontainer">
    <div class="timercontainer">
      <h4>Timer</h4>
      <timer></timer>
    </div>
    <div class="appcontainer">
      <h4>Panels</h4>
      <panels></panels>
    </div>
    <div class="todocontainer">
      <h4>Todo</h4>
      <todo></todo>
    </div>
  </div>
</body>

</html>