js/livereload.js in guard-livereload-2.3.0 vs js/livereload.js in guard-livereload-2.3.1

- old
+ new

@@ -596,11 +596,11 @@ var _i, _len, _ref, _results; _ref = this.document.getElementsByTagName('link'); _results = []; for (_i = 0, _len = _ref.length; _i < _len; _i++) { link = _ref[_i]; - if (link.rel === 'stylesheet' && !link.__LiveReload_pendingRemoval) { + if (link.rel.toLowerCase() === 'stylesheet' && !link.__LiveReload_pendingRemoval) { _results.push(link); } } return _results; }).call(this); @@ -1003,10 +1003,10 @@ var _i, _len, _ref, _results; _ref = document.getElementsByTagName('link'); _results = []; for (_i = 0, _len = _ref.length; _i < _len; _i++) { link = _ref[_i]; - if (link.href && link.rel === 'stylesheet/less' || (link.rel.match(/stylesheet/) && link.type.match(/^text\/(x-)?less$/))) { + if (link.href && link.rel.toLowerCase() === 'stylesheet/less' || (link.rel.match(/stylesheet/i) && link.type.match(/^text\/(x-)?less$/i))) { _results.push(link); } } return _results; })(); \ No newline at end of file