File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,14 @@ export default {
9
9
}
10
10
11
11
if ( $element . length === 0 ) {
12
- throw new Error ( `Element "${ elementOrSelector } " not found for config option "${ property } "` ) ;
12
+ throw new Error ( `Element "${ elementOrSelector } " not found for "${ property } "` ) ;
13
13
}
14
14
} ,
15
15
anyElement ( elementOrSelector , property ) {
16
16
const $element = $ ( elementOrSelector ) ;
17
17
18
18
if ( $element . length === 0 ) {
19
- throw new Error ( `Element "${ elementOrSelector } " not found for config option "${ property } "` ) ;
19
+ throw new Error ( `Element "${ elementOrSelector } " not found for "${ property } "` ) ;
20
20
}
21
21
} ,
22
22
warn ( fn , ...args ) {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export function nextHandler(pageIndex) {
8
8
let nextEl = $ ( ias . options . next , lastResponse ) [ 0 ] ;
9
9
10
10
if ( ! nextEl ) {
11
- Assert . warn ( Assert . singleElement , ias . options . next , 'next' ) ;
11
+ Assert . warn ( Assert . singleElement , ias . options . next , 'options. next' ) ;
12
12
13
13
return ;
14
14
}
@@ -28,7 +28,7 @@ export function nextHandler(pageIndex) {
28
28
. then ( ( hasNextEl ) => {
29
29
// only warn for first page, because at some point it's expected that there is no next element
30
30
if ( ! hasNextEl && pageIndex <= 1 && console && console . warn ) {
31
- console . warn ( `Element "${ ias . options . next } " not found for option " next" on "${ data . url } "` )
31
+ console . warn ( `Element "${ ias . options . next } " not found for "options. next" on "${ data . url } "` )
32
32
}
33
33
34
34
return hasNextEl ;
You can’t perform that action at this time.
0 commit comments