Skip to content

Commit

Permalink
Bump version to 1.1.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
recurser committed May 30, 2013
1 parent 39d7a3a commit 0375097
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
1 change: 1 addition & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ Total time: 2 seconds
Change history
-----------

* **Version 1.1.4 (2013-05-30)** : Add support for jQuery 1.9.1 (thanks [napcs](https://github.com/napcs)).
* **Version 1.1.3 (2013-04-07)** : Rename *callback* option to *onSelect*.
* **Version 1.1.2 (2013-04-06)** : Add *onCellEnter*, *onClose* and *livePreview* options (thanks [jbergen](https://github.com/jbergen)).
* **Version 1.1.1 (2013-03-29)** : Add *callback* option (thanks [jbergen](https://github.com/jbergen)).
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.3
1.1.4
9 changes: 6 additions & 3 deletions jquery.simple-color.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* Version: 1.1.3 (201304080141)
* Version: 1.1.4 (201305301304)
*/
(function($) {
/**
Expand Down Expand Up @@ -129,10 +129,13 @@

// Figure out the cell dimensions
options.totalWidth = options.columns * (options.cellWidth + (2 * options.cellMargin));
if ($.browser.msie) {

// this should probably do feature detection - I don't know why we need +2 for IE
// but this works for jQuery 1.9.1
if (navigator.userAgent.indexOf("MSIE")!=-1){
options.totalWidth += 2;
}

options.totalHeight = Math.ceil(options.colors.length / options.columns) * (options.cellHeight + (2 * options.cellMargin));

// Store these options so they'll be available to the other functions
Expand Down
6 changes: 3 additions & 3 deletions jquery.simple-color.min.js

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

0 comments on commit 0375097

Please sign in to comment.