Skip to content

Use .charAt() instead of array-style string indexing to appease IE7 and below #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 8, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions jquery.css3finalize.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @copyright 2012 zencodez.net
* @license http://creativecommons.org/licenses/by-sa/3.0/
* @package Css3-Finalize
* @version 2.3 - 2012-02-14
* @version 2.4 - 2012-05-07
* @website https://github.com/codler/jQuery-Css3-Finalize
*
* == Description ==
Expand Down Expand Up @@ -111,7 +111,7 @@
}
function cssCamelCase(css) {
var s = $.camelCase(css);
return (currentPrefix == 'ms') ? s[0].toLowerCase() + s.substr(1) : s;
return (currentPrefix == 'ms') ? s.charAt(0).toLowerCase() + s.substr(1) : s;
}

function cleanCss(css) {
Expand Down Expand Up @@ -696,4 +696,4 @@ window.matchMedia = window.matchMedia || (function(doc, undefined){
return { matches: bool, media: q };
};

})(document);
})(document);
Loading