Skip to content

Commit

Permalink
Use IE11 compliant Array and String calls (mozilla#717)
Browse files Browse the repository at this point in the history
  • Loading branch information
humphd authored and timmoy committed Apr 20, 2017
1 parent e7b3305 commit e5b095c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bramble/client/ProjectStats.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ define([
ProjectStats.init = function(root, callback){
function addSize(path, next){
// ignore directories and do nothing
if (path.endsWith("/")){
if (/\/$/.test(path)){
return next();
}

Expand Down

0 comments on commit e5b095c

Please sign in to comment.