3 ms·
I presume to allow for idiomatic use in code that already uses a lot of jQuery: var file = $('a#interesting').url('file') vs var file = url($('a#inte
by mmcnickle 14y ago
I presume to allow for idiomatic use in code that already uses a lot of jQuery:
var file = $('a#interesting').url('file')
vs
var file = url($('a#interesting'), 'file');
- rane 14y agoI don't see what DOM has to do with URL parsing.