Skip to content

Commit

Permalink
Add new dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredreich committed Jul 12, 2017
1 parent af37c2e commit d1c74a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/pell.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ var execute = function execute(command) {
};

var ensureHTTP = function ensureHTTP(str) {
if (str.indexOf('http://') === 0 || str.indexOf('https://') === 0) return str;
return 'http://' + str;
return (/^https?:\/\//.test(str) && str || 'http://' + str
);
};

var link = function link() {
Expand Down
2 changes: 1 addition & 1 deletion dist/pell.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d1c74a3

Please sign in to comment.