Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/tommoor/tinycon
Browse files Browse the repository at this point in the history
* 'master' of https://github.com/tommoor/tinycon:
  Removed version note from comment, its in the package.json
  0.6.6
  Added minified file and README note
  Chrome browsers with nonstandard zoom report fractional devicePixelRatio.
  Added license property to package.json
  • Loading branch information
dvdplm committed Mar 20, 2017
2 parents 57f6c1f + 83e7ef5 commit f018785
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ Currently the library degrades to title update:
* Safari 5


## Development

To produce the minified file run `grunt uglify`


## License / Credits

Tinycon is released under the MIT license. It is simple and easy to understand and places almost no restrictions on what you can do with Tinycon.
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "tinycon",
"version": "0.6.5",
"version": "0.6.6",
"description": "Add notification bubbles in the favicon",
"author": "Tom Moor <tom.moor@gmail.com> (http://tommoor.com)",
"main": "./tinycon.js",
"repository": {
"license": "MIT",
"main" : "./tinycon.js",
"repository" : {
"type": "git",
"url": "git://github.com/tommoor/tinycon.git"
},
Expand Down
2 changes: 1 addition & 1 deletion tinycon.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* Tom Moor, http://tommoor.com
* Copyright (c) 2015 Tom Moor
* @license MIT Licensed
* @version 0.6.4
*/

(function(){
Expand All @@ -14,6 +13,7 @@
var faviconImage = null;
var canvas = null;
var options = {};
// Chrome browsers with nonstandard zoom report fractional devicePixelRatio.
var r = Math.ceil(window.devicePixelRatio) || 1;
var size = 16 * r;
var defaults = {
Expand Down
8 changes: 7 additions & 1 deletion tinycon.min.js

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

0 comments on commit f018785

Please sign in to comment.