@jbrowse/core 1.5.4 → 1.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/util/index.js +2 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/core",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.5",
|
|
4
4
|
"description": "JBrowse 2 core libraries used by plugins",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"access": "public",
|
|
79
79
|
"directory": "dist"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "214a3bed2d2722f0971c0d0eed37c8d801f086d7"
|
|
82
82
|
}
|
package/util/index.js
CHANGED
|
@@ -1274,15 +1274,13 @@ function _updateStatus() {
|
|
|
1274
1274
|
|
|
1275
1275
|
function hashCode(str) {
|
|
1276
1276
|
var hash = 0;
|
|
1277
|
-
var i;
|
|
1278
|
-
var chr;
|
|
1279
1277
|
|
|
1280
1278
|
if (str.length === 0) {
|
|
1281
1279
|
return hash;
|
|
1282
1280
|
}
|
|
1283
1281
|
|
|
1284
|
-
for (i = 0; i < str.length; i++) {
|
|
1285
|
-
chr = str.charCodeAt(i);
|
|
1282
|
+
for (var i = 0; i < str.length; i++) {
|
|
1283
|
+
var chr = str.charCodeAt(i);
|
|
1286
1284
|
hash = (hash << 5) - hash + chr;
|
|
1287
1285
|
hash |= 0; // Convert to 32bit integer
|
|
1288
1286
|
}
|