(context, arg, idx, payload)
| 284 | } |
| 285 | |
| 286 | function funcArg(context, arg, idx, payload) { |
| 287 | return isFunction(arg) ? arg.call(context, idx, payload) : arg |
| 288 | } |
| 289 | |
| 290 | function setAttribute(node, name, value) { |
| 291 | value == null ? node.removeAttribute(name) : node.setAttribute(name, value) |