HuasoFoundries/systemjs-riot

View on GitHub
example/js/app.js

Summary

Maintainability
A
2 hrs
Test Coverage
define([
  "riot",
  "tag!tags/timer.tag",
  "tag!tags/panels.tag",
  "tag!tags/todo.tag"

], function(riot) {

  riot.mount('timer', {
    start: 0
  });

  riot.mount('panels');

  riot.mount('todo', {
    items: [{ title: 'wash my teeth' }, { title: 'wipe my hands' }]
  });

  riot.route.start(true);
});