Skip to content

Commit

Permalink
Fixed bug with key var
Browse files Browse the repository at this point in the history
  • Loading branch information
kas-elvirov committed Apr 4, 2018
1 parent e7aefb8 commit 616cbb8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
___

# Chrome extension [GLOC](https://chrome.google.com/webstore/detail/gloc-github-counter-lines/kaodcnpebhdbpaeeemkiobcokcnegdki?utm_source=chrome-ntp-icon)
## **Current version: 7.4.0** ( 2018, 04 april )
## **Current version: 7.5.0** ( 2018, 04 april )


## Description
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"short_name": "Gloc",
"author": "Artem Solovev",
"description": "Сounts lines of code on GitHub",
"version": "7.4.0",
"version": "7.5.0",

"browser_action": {
"default_icon": "img/icon128.png",
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": "gloc",
"version": "7.4.0",
"version": "7.5.0",
"description": "Extension counts the number of lines of code in GitHub pages.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/inject.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ const insertLocForDir = () => {

var totalLoc = 0;

for ( key in collection ) {
for ( var key in collection ) {
arr.push( key + ' - ' + String( collection[key] ) );
totalLoc += collection[key];
arr.sort();
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,5 +140,5 @@ const ZipFiles = {
module.exports = [
JSconfig,
HTMLconfig,
//ZipFiles,
ZipFiles,
];

0 comments on commit 616cbb8

Please sign in to comment.