User:PleaseStand/segregate-refs-dev.js: Difference between revisions

Content deleted Content added
m changed warning disable variable name
m fixing bug in regex
Line 136:
getAttributes: function getAttributes() {
// In this regex, we need to extract a single name-value pair at a time.
var attParseRegex = /\s([^=>]+)\s*=\s*("[^"]*"|'[^']*'|[^\s"']*)/g;
if(!this.parsedRef) {
return null;