Skip to content
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.

Commit

Permalink
[options-page] move some functionality into helper component modules
Browse files Browse the repository at this point in the history
Some progress on #759.
  • Loading branch information
jfroelich committed Mar 9, 2019
1 parent 5a07f29 commit 8f2a94b
Show file tree
Hide file tree
Showing 8 changed files with 796 additions and 721 deletions.
7 changes: 1 addition & 6 deletions options.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<head>
<title>Reader Options</title>
<link rel="stylesheet" href="/css/options-page.css"/>
<script type="module" src="/src/options-page.js"></script>
<script type="module" src="/src/options-page/options-page.js"></script>
<script type="module" src="/src/cli.js"></script>
</head>
<body>
Expand Down Expand Up @@ -82,11 +82,6 @@ <h1 id="details-title-container">

<div id="section-add-subscription" class="options-section">
<h1>Add a subscription</h1>
<form id="subscription-form">
<input type="search" id="subscribe-url"
placeholder="e.g. http://example.com/feed.rss" required>
<input type="submit" value="GO">
</form>
</div>

<div id="section-display-settings" class="options-section">
Expand Down
2 changes: 1 addition & 1 deletion src/ops/reader-notification.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as extension from '/src/extension.js';

const default_icon_url = resolve_extension_path('/images/rss_icon_trans.gif');

export function ReaderNotification {
export function ReaderNotification() {
this.title = 'Untitled';
this.message = undefined;
this.icon_url = default_icon_url;
Expand Down
Loading

0 comments on commit 8f2a94b

Please sign in to comment.