Skip to content

Commit

Permalink
Bump to 0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewwithanm committed Jun 25, 2015
1 parent 854ec83 commit a03afb0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-inlinesvg",
"version": "0.4.1",
"version": "0.4.2",
"authors": [
"Matthew Dapena-Tretter <[email protected]>"
],
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": "react-inlinesvg",
"version": "0.4.1",
"version": "0.4.2",
"description": "An SVG loader for React",
"main": "./lib/index.js",
"directories": {
Expand Down
6 changes: 3 additions & 3 deletions standalone/react-inlinesvg.js
Original file line number Diff line number Diff line change
Expand Up @@ -626,14 +626,14 @@ uniquifyIDs = (function() {
})();

getHash = function(str) {
var char, hash, i, _i, _ref;
var chr, hash, i, _i, _ref;
hash = 0;
if (!str) {
return hash;
}
for (i = _i = 0, _ref = str.length; 0 <= _ref ? _i < _ref : _i > _ref; i = 0 <= _ref ? ++_i : --_i) {
char = str.charCodeAt(i);
hash = (hash << 5) - hash + char;
chr = str.charCodeAt(i);
hash = (hash << 5) - hash + chr;
hash = hash & hash;
}
return hash;
Expand Down

0 comments on commit a03afb0

Please sign in to comment.