Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import list from './list.json';
import appInfo from '../../../package.json';
import {GET} from '../utils/ajax';
import mustache from 'mustache';
import wax from '@jvitela/mustache-wax';
wax(mustache);
mustache.Formatters = {
add: (v1, v2) => {
return v1 + v2;
},
subtract: (v1, v2) => {
return v1 - v2;
},
multiply: (v1, v2) => {
return v1 * v2;
},
divide: (v1, v2) => {
return v1 / v2;
},
offsetLeft: (start, size1, size2) => {
let x1 = start + size1 / 2;