You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When useing TamperMonkey or GreaseMonkey with less.js as a @require resource, sometimes there will be an error.
I trace the code found a small problem.
At https://github.com/less/less.js/blob/master/packages/less/src/less-browser/utils.js
function addDataAttrs param tag may be null, then the script will exec failed.
A short if may fix this, will you please add the code to check if tag is null
The text was updated successfully, but these errors were encountered:
When useing TamperMonkey or GreaseMonkey with less.js as a @require resource, sometimes there will be an error.
I trace the code found a small problem.
At
https://github.com/less/less.js/blob/master/packages/less/src/less-browser/utils.js
function addDataAttrs param
tag
may be null, then the script will exec failed.A short
if
may fix this, will you please add the code to check if tag is nullThe text was updated successfully, but these errors were encountered: