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.

28 lines
597 B

7 years ago
import riot from 'riot';
7 years ago
import { default as RiotControl } from 'riotcontrol';
7 years ago
import './bbutton.tag';
import './post.tag';
import './posts.tag';
import './projects.tag';
import './app.tag';
import './grid.js';
import { default as promise } from 'es6-promise';
import { default as smooth } from 'smoothscroll-polyfill';
import 'element-closest';
promise.Promise.polyfill();
smooth.polyfill();
7 years ago
7 years ago
window.RiotControl = RiotControl;
RiotControl.addStore(new riot.observable());
riot.mount("app");
8 years ago
riot.mount("post",
{
7 years ago
"creator" : "author"
8 years ago
});
8 years ago
riot.mount("bbutton");
riot.mount("projects");