Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
lrsjng committed Jul 23, 2020
1 parent f6fcd78 commit cff4c99
Show file tree
Hide file tree
Showing 8 changed files with 1,425 additions and 1,593 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ insert_final_newline = true
trim_trailing_whitespace = true


[{*.json,*.yml,.eslintrc}]
[{*.json,*.yml}]
indent_size = 2


Expand Down
File renamed without changes.
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pagemap

[![license][license-img]][github] [![web][web-img]][web] [![github][github-img]][github] [![npm][npm-img]][npm]
[![version][npm-v-img]][npm] [![downloads][npm-dm-img]][npm] [![build status][travis-img]][travis]
[![version][npm-v-img]][npm] [![downloads][npm-dm-img]][npm]

Mini map for web pages.

Expand Down Expand Up @@ -30,13 +30,13 @@ init and style the mini map:
pagemap(document.querySelector('#map'), {
viewport: null,
styles: {
'header,footer,section,article': rgba(0,0,0,0.08),
'h1,a': rgba(0,0,0,0.10),
'h2,h3,h4': rgba(0,0,0,0.08)
'header,footer,section,article': 'rgba(0,0,0,0.08)',
'h1,a': 'rgba(0,0,0,0.10)',
'h2,h3,h4': 'rgba(0,0,0,0.08)'
},
back: rgba(0,0,0,0.02),
view: rgba(0,0,0,0.05),
drag: rgba(0,0,0,0.10),
back: 'rgba(0,0,0,0.02)',
view: 'rgba(0,0,0,0.05)',
drag: 'rgba(0,0,0,0.10)',
interval: null
});
```
Expand Down Expand Up @@ -69,7 +69,6 @@ THE SOFTWARE.
[web]: https://larsjung.de/pagemap/
[github]: https://github.com/lrsjng/pagemap
[npm]: https://www.npmjs.org/package/pagemap
[travis]: https://travis-ci.org/lrsjng/pagemap

[license-img]: https://img.shields.io/badge/license-MIT-a0a060.svg?style=flat-square
[web-img]: https://img.shields.io/badge/web-larsjung.de/pagemap-a0a060.svg?style=flat-square
Expand All @@ -78,4 +77,3 @@ THE SOFTWARE.

[npm-v-img]: https://img.shields.io/npm/v/pagemap.svg?style=flat-square
[npm-dm-img]: https://img.shields.io/npm/dm/pagemap.svg?style=flat-square
[travis-img]: https://img.shields.io/travis/lrsjng/pagemap.svg?style=flat-square
2 changes: 1 addition & 1 deletion dist/pagemap.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! pagemap v1.3.0 - https://larsjung.de/pagemap/ */
/*! pagemap v1.4.0 - https://larsjung.de/pagemap/ */
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
Expand Down
2 changes: 1 addition & 1 deletion dist/pagemap.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cff4c99

Please sign in to comment.