Fix missing quotes.

This commit is contained in:
Julien Fontanet 2015-04-17 16:25:18 +02:00
parent c19916ff1c
commit c1db993b92

View File

@ -18,7 +18,7 @@ var fixUrl = require('./fix-url')
function getCurrentUrl () {
/* global window: false */
if (typeof window === undefined) {
if (typeof window === 'undefined') {
throw new Error('cannot get current URL')
}