A full featured blog in RiotJS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
442 B

import riot from 'riot';
import { default as RiotControl } from 'riotcontrol';
import { default as promise } from 'es6-promise';
import { default as smooth } from 'smoothscroll-polyfill';
import { default as showdown } from 'showdown';
import 'element-closest';
promise.Promise.polyfill();
smooth.polyfill();
window.showdown = showdown;
window.RiotControl = RiotControl;
RiotControl.addStore(new riot.observable());
riot.mount("editor");