More tests, will start merging now

This commit is contained in:
Ludwig Schubert
2017-10-17 10:49:55 -07:00
parent 5cb9b79559
commit 95d357c308
10 changed files with 248 additions and 71 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { FrontMatter } from './front-matter';
import { FrontMatter, mergeFromYMLFrontmatter } from './front-matter';
import { DMath } from './components/d-math';
import { collect_citations } from './helpers/citation.js';
import { parseFrontmatter } from './components/d-front-matter';
@@ -107,7 +107,7 @@ export const Controller = {
onFrontMatterChanged(event) {
const data = event.detail;
frontMatter.mergeFromYMLFrontmatter(data);
mergeFromYMLFrontmatter(frontMatter, data);
const interstitial = document.querySelector('d-interstitial');
if (interstitial) {