Skip to content

Commit

Permalink
Use JavaScript startsWith insead of lodash
Browse files Browse the repository at this point in the history
  • Loading branch information
leoj3n committed Apr 12, 2017
1 parent adde348 commit e9486ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/static_dist.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function addPackages(siteConfig, buildFolder) {
for(var depName in siteConfig.html.dependencies) {
var possibleFilePath = siteConfig.dependencies[depName];

if (_.startsWith(possibleFilePath,'file:')) {
if (possibleFilePath.startsWith('file:')) {
filePathedDeps[depName] = possibleFilePath;
}
}
Expand Down

0 comments on commit e9486ea

Please sign in to comment.