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
Object literals in the code snippets look better if they don't contain " escaping. E.g. using
// Attributes with embedded JSON look better with apostrophes.snippet=snippet.replace(/="[^"]*"[^"]*"/g,function(s){// If there are apostrophes, be safe and don't fiddle with it.if(s.indexOf("'")!==-1||s.indexOf(''')!==-1)returns;returns.replace(/"/g,"'").replace(/"/g,'"');});
This should not have more false-positives than the empty attribute removal already in place.
The text was updated successfully, but these errors were encountered:
Object literals in the code snippets look better if they don't contain " escaping. E.g. using
This should not have more false-positives than the empty attribute removal already in place.
The text was updated successfully, but these errors were encountered: