assets/wanderpage.js   A
last analyzed

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 11
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 7
c 0
b 0
f 0
dl 0
loc 11
rs 10
wmc 1
mnd 0
bc 0
fnc 1
bpm 0
cpm 1
noi 0
1
// Used on both admin and public wander show pages
2
import { setUpMap, addWander } from './map';
3
import './gallery';
4
5
const $ = require('jquery');
6
7
$(() => {
8
  const map = setUpMap({
9
    scrollWheelZoom: false,
10
  });
11
  addWander(map, $('#mapid').data('wanderId'), true);
12
});
13