Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2015-06-18 18:40:49 +03:00
parent 531d4e610c
commit 065acfea8a

View File

@ -232,6 +232,9 @@ var BrowserPrototype = {
// - glob
// XXX need to support glob / nested patterns...
// ..things like /**/a*/*moo/
// XXX make this more compatible with the canonical filter....
// - set this for predicate function...
// - unwrap the element (???)
filter: function(pattern, rejected, ignore_disabled){
pattern = pattern || '*'
ignore_disabled = typeof(rejected) == typeof(true) ? rejected : ignore_disabled