tweaking...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-03-08 20:22:40 +03:00
parent 59dc0d01c5
commit 6a8c5fb561
2 changed files with 7 additions and 0 deletions

View File

@ -49,6 +49,10 @@ var RecoverActions = actions.Actions({
// This is the same as .load(..) but will monitor for load errors
// and attempt to recover if it fails...
//
// This will return a promise that will resolve if load is successful
// and fail if load fails, passing the 'recovered' if recovery was
// successful and the error if not...
//
// NOTE: this avoids load loops by attempting to recover only once...
// NOTE: this is done as a wrapper because we can't catch errors in
// parent actions at this point...

View File

@ -3146,6 +3146,9 @@ var BrowserPrototype = {
if(to.length == 0){
// select first/last...
//return this.navigate(action == 'down' ? 'last' : 'first')
// XXX stop keyboard repeat...
// XXX
// wrap around....
to = this.filter('*').filter(pattern)