Updated license.

This commit is contained in:
Alexandre Gigliotti
2015-08-05 16:10:21 -07:00
parent a126b341cc
commit d5c6a6b540
2 changed files with 6 additions and 5 deletions

View File

@@ -5,6 +5,7 @@ Embed local assets in an HTML document.
[![npm](https://img.shields.io/npm/v/inline-html.svg)]() [![npm](https://img.shields.io/npm/v/inline-html.svg)]()
[![Travis](https://img.shields.io/travis/panosoft/inline-html.svg)]() [![Travis](https://img.shields.io/travis/panosoft/inline-html.svg)]()
[![David](https://img.shields.io/david/panosoft/inline-html.svg)]() [![David](https://img.shields.io/david/panosoft/inline-html.svg)]()
[![npm](https://img.shields.io/npm/l/inline-html.svg)]()
[![npm](https://img.shields.io/npm/dm/inline-html.svg)]() [![npm](https://img.shields.io/npm/dm/inline-html.svg)]()
## Installation ## Installation
@@ -22,24 +23,24 @@ This:
Turns this: Turns this:
<link rel="stylesheet/less" href="main.less" /> <link rel="stylesheet/less" href="main.less"/>
<style> <style>
div { background-image: url('path/to/file'); } div { background-image: url('path/to/file'); }
</style> </style>
<div style="background-image: url('path/to/file');"></div> <div style="background-image: url('path/to/file');"></div>
<img src="path/to/file" /> <img src="path/to/file"/>
Into this: Into this:
<style> <style>
@font-face { src: url('data:...'); } @font-face { src: url('data:...'); }
div { background-image: url('data:...'); } div { background-image: url('data:...'); }
</style> </style>
<style> <style>
div { background-image: url('data:...'); } div { background-image: url('data:...'); }
</style> </style>
<div style="background-image: url('data:...');"></div> <div style="background-image: url('data:...');"></div>
<img src="data:..." /> <img src="data:..."/>
Where: Where:

View File

@@ -8,7 +8,7 @@
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"author": "", "author": "",
"license": "ISC", "license": "MIT",
"dependencies": { "dependencies": {
"cheerio": "^0.19.0", "cheerio": "^0.19.0",
"co": "^4.6.0", "co": "^4.6.0",