Browse Source

Un es6ify :(

pm2
Luke Childs 8 years ago
parent
commit
425cd294a9
  1. 4
      public/assets/enhancements.js

4
public/assets/enhancements.js

@ -1,7 +1,7 @@
(function() { (function() {
// Feature detection results // Feature detection results
const supports = {}; var supports = {};
// Detect localStorage support // Detect localStorage support
try { try {
@ -14,7 +14,7 @@
// Detect inline SVG support // Detect inline SVG support
supports.inlineSVG = (function() { supports.inlineSVG = (function() {
const div = document.createElement('div'); var div = document.createElement('div');
div.innerHTML = '<svg/>'; div.innerHTML = '<svg/>';
return ( return (
typeof SVGRect != 'undefined' typeof SVGRect != 'undefined'

Loading…
Cancel
Save