Skip to content

Commit

Permalink
Update deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
lrsjng committed Mar 11, 2019
1 parent 341078e commit 8c2e4e2
Show file tree
Hide file tree
Showing 9 changed files with 6,759 additions and 31 deletions.
12 changes: 6 additions & 6 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
build
coverage
dist
local
node_modules
**/vendor
/build/
/coverage/
/dist/
/local/
/node_modules/
/**/vendor/
11 changes: 5 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
build
coverage
local
node_modules
npm-debug.log
yarn.lock
/build/
/coverage/
/local/
/node_modules/
/npm-debug.log
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ sudo: false

node_js:
- node
- "11"
- "10"
- "9"
- "8"
- "8.0"
- "7"
- "7.0"
- "6"
- "6.0"

branches:
only:
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# lolight

[![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] [![dependencies status][gemnasium-img]][gemnasium] [![build status][travis-img]][travis]
[![version][npm-v-img]][npm] [![downloads][npm-dm-img]][npm] [![build status][travis-img]][travis]


Lightweight tokenizer and syntax highlighter.
Expand All @@ -10,7 +10,7 @@ Lightweight tokenizer and syntax highlighter.
## License
The MIT License (MIT)

Copyright (c) 2017 Lars Jung (https://larsjung.de)
Copyright (c) 2019 Lars Jung (https://larsjung.de)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -34,7 +34,6 @@ THE SOFTWARE.
[web]: https://larsjung.de/lolight/
[github]: https://github.com/lrsjng/lolight
[npm]: https://www.npmjs.org/package/lolight
[gemnasium]: https://gemnasium.com/lrsjng/lolight
[travis]: https://travis-ci.org/lrsjng/lolight

[license-img]: https://img.shields.io/badge/license-MIT-a0a060.svg?style=flat-square
Expand All @@ -44,5 +43,4 @@ THE SOFTWARE.

[npm-v-img]: https://img.shields.io/npm/v/lolight.svg?style=flat-square
[npm-dm-img]: https://img.shields.io/npm/dm/lolight.svg?style=flat-square
[gemnasium-img]: https://img.shields.io/gemnasium/lrsjng/lolight.svg?style=flat-square
[travis-img]: https://img.shields.io/travis/lrsjng/lolight.svg?style=flat-square
4 changes: 2 additions & 2 deletions dist/lolight.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! lolight v0.6.0 - https://larsjung.de/lolight/ */
/*! lolight v1.0.0 - https://larsjung.de/lolight/ */
(function (root, factory) {
if (typeof exports === 'object' && typeof module === 'object') {
module.exports = factory(); // eslint-disable-line no-undef
Expand Down Expand Up @@ -118,7 +118,7 @@
head.insertBefore(style, head.firstChild);

// auto highlight
if (/^(i|c|loade)/.test(doc.readyState)) {
if ((/^(i|c|loade)/).test(doc.readyState)) {
lolight();
} else {
doc.addEventListener('DOMContentLoaded', function () {
Expand Down
2 changes: 1 addition & 1 deletion dist/lolight.min.js

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

Loading

0 comments on commit 8c2e4e2

Please sign in to comment.