File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
import axeCore from 'axe-core'
2
2
import debounce from 'lodash.debounce'
3
- import { checkAndReport , resetCache } from './utils'
3
+ import { checkAndReport , resetCache , resetLastNotification } from './utils'
4
4
import { OPTIONS_DEFAULT } from './constants'
5
5
6
6
export default function install ( Vue , options ) {
@@ -23,6 +23,7 @@ export default function install (Vue, options) {
23
23
24
24
if ( forceClear && options . clearConsoleOnUpdate ) {
25
25
console . clear ( )
26
+ resetLastNotification ( )
26
27
}
27
28
} ,
28
29
debounceAxe : debounce ( function ( ) {
Original file line number Diff line number Diff line change @@ -56,6 +56,10 @@ export function resetCache () {
56
56
cache = { }
57
57
}
58
58
59
+ export function resetLastNotification ( ) {
60
+ lastNotification = ''
61
+ }
62
+
59
63
function createDeferred ( ) {
60
64
deferred . promise = new Promise ( ( resolve , reject ) => {
61
65
deferred . resolve = resolve
You can’t perform that action at this time.
0 commit comments