1/* 2 * This file is autogenerated by Nordcraft and should not be edited manually. 3 * 4 * Entry file: HomePage 5 */ 6 7export const project = "youthgroup"; 8 9export const loadCustomCode = () => { 10 11 12} 13 14export const actions = { 15 "youthgroup": { 16 "isTouchDevice": { 17 arguments: [], 18 handler: (args, ctx) => { 19 /** 20 * @param {Args} args 21 * @param {Ctx} ctx 22 */ 23function isTouchDevice (args, ctx) { 24 const result = 'ontouchstart' in window || navigator.maxTouchPoints > 0; 25 result ? ctx.triggerActionEvent("isTouchDevice", result) : ctx.triggerActionEvent("notTouchDevice", result); 26} 27 return isTouchDevice(args, ctx) 28 } 29 } 30 } 31} 32 33export const formulas = { 34 35}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.