Commit 5e94943a authored by Fred Chasen's avatar Fred Chasen

Update styler to polisher example

parent ef3c3a0b
......@@ -223,7 +223,7 @@
return book;
}).then((book) => {
styles = new Paged.Styler();
styles = new Paged.Polisher();
return addStyles(styles, this.book.resources);
}).then(() => {
return sections(this.book.spine);
......
......@@ -23,7 +23,7 @@
}
// styles
let styles = new Paged.Styler();
let styles = new Paged.Polisher();
let moby = await styles.add("assets/styles/moby-dick.css");
let flowText = document.querySelector("#flow");
......
......@@ -61,7 +61,7 @@
styles.destroy();
}
styles = new Paged.Styler();
styles = new Paged.Polisher();
styleText = await styles.add({ "aurorae/book.css": str});
styles.contents(flowText.content);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment