Passed
Push — develop ( fd8230...620707 )
by Remco
06:18
created

js/admin-tour.js   A

Complexity

Total Complexity 3
Complexity/F 1

Size

Lines of Code 13
Function Count 3

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 0
nc 1
dl 0
loc 13
rs 10
c 0
b 0
f 0
wmc 3
mnd 0
bc 3
fnc 3
bpm 1
cpm 1
noi 0
1
/* global pronamicPayAdminTour */
2
jQuery( document ).ready( function( $ ) {
3
	$.each( pronamicPayAdminTour.pointers, function() {
4
		var pointer = this;
5
6
		var options =  $.extend( pointer.options, {
7
			buttons: function() {
8
				return false;
9
			}
10
		} );
11
12
		$( pointer.selector ).first().pointer( options ).pointer( 'open' );
13
	} );
14
} );
15