1001

static P2P wikisoft.
Log | Files | Refs | README

main.js (745B)


      1 /* DOM */
      2 window.morph     = require('nanomorph')
      3 window.html      = require('nanohtml')
      4 window.raw       = require('nanohtml/raw')
      5 window.Component = require('nanocomponent')
      6 
      7 /* State */
      8 window.bus   = require('nanobus')
      9 window.state = require('nanostate')
     10 
     11 /* Router */
     12 window.wayfarer      = require('wayfarer')
     13 window.wayfarer.walk = require('wayfarer/walk')
     14 window.router        = require('nanorouter')
     15 
     16 /* Other */
     17 window.create_debug = require('debug')
     18 window.query  = (href = window.location.href) => require('nanoquery')(href)
     19 window.hash   = (hash = window.location.hash) => require('hash-match')(hash)
     20 
     21 /* Utilities */
     22 window._ = require('lodash')
     23 window.S = require('s-js')
     24 window.he = require('he')
     25 window.title = require('title')