Skip to content

Commit

Permalink
Update to v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Doan committed Feb 5, 2015
1 parent 1f2b935 commit 979385c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "scalem",
"description": "A lightweight jQuery plugin to make any element scalable (responsive).",
"version": "1.0.6",
"version": "1.1.0",
"main": "dist/jquery.scalem.js",
"license": "MIT",
"ignore": [
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.scalem.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Scalem v1.0.6 - A responsive text jQuery plugin
* Scalem v1.1.0 - A responsive text jQuery plugin
* Copyright 2014, Tom Doan (http://www.tohodo.com/)
*
* Scalem by Tom Doan is licensed under the MIT License.
Expand Down Expand Up @@ -63,7 +63,7 @@
oStyles = {};
for (var i=0, imax=aStyles.length; i<imax; i++) {
if (!aStyles[i]) continue;
oStyles[aStyles[i]] = Math.round(parseFloat($o.css(aStyles[i])) * nScale) + 'px';
oStyles[aStyles[i]] = ((aStyles[i]==='width') ? nTargetWidth : Math.round(parseFloat($o.css(aStyles[i])) * nScale)) + 'px';
}
$o.css(oStyles);
}
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": "scalem",
"version": "1.0.6",
"version": "1.1.0",
"description": "A lightweight jQuery plugin to make any element scalable (responsive).",
"keywords": [
"jquery-plugin",
Expand Down

0 comments on commit 979385c

Please sign in to comment.