cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2019-07-21 00:04:12 +03:00
parent 0641dad600
commit ad6cdac1da

View File

@ -2821,7 +2821,6 @@ var BaseBrowserPrototype = {
// first result only. // first result only.
// //
// XXX should we be able to get offset values relative to any match? // XXX should we be able to get offset values relative to any match?
// XXX BUG: when pattern is a path this returns a view rather than the item....
get: function(pattern, options){ get: function(pattern, options){
var args = [...arguments] var args = [...arguments]
pattern = args.shift() pattern = args.shift()
@ -4421,9 +4420,6 @@ var HTMLBrowserPrototype = {
// passed 'pagetop'/'pagebottom' + offset, this may become an // passed 'pagetop'/'pagebottom' + offset, this may become an
// issue if .get(..) starts doing something extra, currently // issue if .get(..) starts doing something extra, currently
// this is a non-issue... // this is a non-issue...
//
// XXX BUG: when pattern is a path this returns a view rather than the item....
// ...could be an upstream bug...
get: function(pattern){ get: function(pattern){
var args = [...arguments].slice(1) var args = [...arguments].slice(1)
var offset = typeof(args[0]) == typeof(123) ? var offset = typeof(args[0]) == typeof(123) ?