Skip to content

Commit

Permalink
Fixing stories and demo files
Browse files Browse the repository at this point in the history
  • Loading branch information
Internet Archive authored and Internet Archive committed Oct 7, 2019
1 parent da85dba commit 51965c7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/mobile-top-nav/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<script type="module" src="topnav-element.js"></script>
<script type="module" src="/src/topnav-element.js"></script>
<title>topnav-element</title>
<style>
body {
Expand Down
2 changes: 1 addition & 1 deletion packages/mobile-top-nav/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"main": "index.js",
"module": "index.js",
"scripts": {
"start": "owc-dev-server --open ./src",
"start": "owc-dev-server --open ./demo/index.html",
"lint:eslint": "eslint --ext .js,.html . --ignore-path .gitignore",
"format:eslint": "eslint --ext .js,.html . --fix --ignore-path .gitignore",
"lint:prettier": "prettier \"**/*.js\" --check --ignore-path .gitignore",
Expand Down
7 changes: 7 additions & 0 deletions packages/mobile-top-nav/stories/topnav-element.stories.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { storiesOf, withKnobs, withClassPropertiesKnobs } from '@open-wc/demoing-storybook';

import IAMobileTopNav from '../index';

storiesOf('IAMobileTopNav', module)
.addDecorator(withKnobs)
.add('Scrubber Bar Options', () => withClassPropertiesKnobs(IAMobileTopNav));

0 comments on commit 51965c7

Please sign in to comment.