all repos — litestore @ bfaf9633a6259f119b0c70ec12241fc952a4f6eb

A minimalist nosql document store.

app/js/app.js

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
var app = app || {};
(function(){
  'use strict';

  m.route.mode = "hash";

  m.route(document.body, "/info", {
    '/info': app.info,
    "/pages/:page": app.guide
  });
}());