Skip to content

Commit

Permalink
Merge c82b967 into 3e4aca2
Browse files Browse the repository at this point in the history
  • Loading branch information
gnazarkin committed Jan 27, 2016
2 parents 3e4aca2 + c82b967 commit 1710943
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ module.exports = {
params.push('libraries=' + encodeURIComponent(libraries.join(',')));
}

var protocol = gMapConfig.protocol;
if (protocol) {
src = protocol + ":" + src;
}

src += '?' + params.join('&');
content = '<script type="text/javascript" src="' + src + '"></script>';
}
Expand Down

0 comments on commit 1710943

Please sign in to comment.