mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 15:57:57 +01:00
s/let/var/
type is used at function block's tail.
This commit is contained in:
@@ -678,7 +678,7 @@ function Buffer() //{{{
|
|||||||
|
|
||||||
if (!isFeed)
|
if (!isFeed)
|
||||||
{
|
{
|
||||||
let type = data.type && data.type.toLowerCase();
|
var type = data.type && data.type.toLowerCase();
|
||||||
type = type.replace(/^\s+|\s*(?:;.*)?$/g, "");
|
type = type.replace(/^\s+|\s*(?:;.*)?$/g, "");
|
||||||
|
|
||||||
isFeed = (type == "application/rss+xml" || type == "application/atom+xml");
|
isFeed = (type == "application/rss+xml" || type == "application/atom+xml");
|
||||||
|
|||||||
Reference in New Issue
Block a user