diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/utils.coffee | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/utils.coffee b/lib/utils.coffee index c43a283c..597e5f6c 100644 --- a/lib/utils.coffee +++ b/lib/utils.coffee @@ -38,7 +38,7 @@ Utils =    # Completes a partial URL (without scheme)    createFullUrl: (partialUrl) -> -    if (!/^[a-z]{3,}:\/\//.test(partialUrl)) +    unless /^[a-z]{3,}:\/\//.test partialUrl        "http://" + partialUrl      else        partialUrl | 
