Skip to content

Commit

Permalink
Version 1.1.0
Browse files Browse the repository at this point in the history
- add beforeLoad hook
- code cleanup
- improved code comments
- change name of cache option to useCache
  • Loading branch information
dasboe committed Sep 28, 2018
1 parent 7c55cd9 commit 21e9e76
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ Include the SVGInject Javascript file in the `<head>` element of your HTML docum
</head>
```

Download plain version (v1.0.5): [svg-inject.js](https://raw.githubusercontent.com/iconfu/svg-inject/v1.0.3/dist/svg-inject.js)
Download plain version (v1.1.0): [svg-inject.js](https://raw.githubusercontent.com/iconfu/svg-inject/v1.1.0/dist/svg-inject.js)

Download minified version (v1.0.5): [svg-inject.min.js](https://raw.githubusercontent.com/iconfu/svg-inject/v1.0.3/dist/svg-inject.min.js)
Download minified version (v1.1.0): [svg-inject.min.js](https://raw.githubusercontent.com/iconfu/svg-inject/v1.1.0/dist/svg-inject.min.js)

### npm

Expand Down
2 changes: 1 addition & 1 deletion dist/svg-inject.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* SVGInject - Version 1.0.5
* SVGInject - Version 1.1.0
* A tiny, intuitive, robust, caching solution for injecting SVG files inline into the DOM.
*
* https://github.com/iconfu/svg-inject
Expand Down
2 changes: 1 addition & 1 deletion examples/svg-inject.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* SVGInject - Version 1.0.5
* SVGInject - Version 1.1.0
* A tiny, intuitive, robust, caching solution for injecting SVG files inline into the DOM.
*
* https://github.com/iconfu/svg-inject
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@iconfu/svg-inject",
"version": "1.0.5",
"version": "1.1.0",
"description": "simple bulletproof svg injector",
"main": "dist/svg-inject.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/svg-inject.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* SVGInject - Version 1.0.5
* SVGInject - Version 1.1.0
* A tiny, intuitive, robust, caching solution for injecting SVG files inline into the DOM.
*
* https://github.com/iconfu/svg-inject
Expand Down

0 comments on commit 21e9e76

Please sign in to comment.