This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Does anyone have a regular expression that would pull out all of the arguments as groups? | |
Example inputs (1 per line): | |
"arg one", "arg two", "arg three" | |
"arg one", arg.two, arg.three | |
"arg one", arg.two, "arg.three" | |
"arg , one", arg.two, "arg.three" | |
"class=\"arg\" one", arg.two, "arg.three" | |
"class=\"arg\" one", "arg , two", "arg.three" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// fetch profile results for any ajax calls done via jQuery | |
$(document).ajaxComplete(function (e, xhr, settings) { | |
if (xhr) { | |
var id = xhr.getResponseHeader('X-MiniProfiler-Id'); | |
if (id) { | |
fetchResults(id); | |
} | |
} | |
}); |