@ampify/aquery
Advanced tools
Comparing version 1.3.1 to 1.3.2
{ | ||
"name": "@ampify/aquery", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"main": "./dist/aquery.js", | ||
@@ -37,3 +37,3 @@ "module": "./src", | ||
}, | ||
"gitHead": "61a774810a6f974ac8be989ed9e59ee73c879baf" | ||
"gitHead": "7870e2b1eb7af8b34f519ca1689423e2702465b6" | ||
} |
@@ -52,2 +52,3 @@ import jQuery from 'jquery'; | ||
value: '[AMPIFY_EVENT_VALUE]', | ||
checked: '[AMPIFY_EVENT_CHECKED]', | ||
}; | ||
@@ -222,3 +223,7 @@ | ||
callback({ target: node, value: AMPlaceHolders.value }); | ||
callback({ | ||
target: node, | ||
value: AMPlaceHolders.value, | ||
checked: AMPlaceHolders.checked, | ||
}); | ||
@@ -720,3 +725,5 @@ if (event === 'click') { | ||
Object.keys(state).forEach((prop) => { | ||
const value = state[prop].replace(AMPlaceHolders.value, 'event.value'); | ||
const value = state[prop] | ||
.replace(AMPlaceHolders.value, 'event.value') | ||
.replace(AMPlaceHolders.checked, 'event.checked'); | ||
@@ -723,0 +730,0 @@ arrState.push(`${prop}: ${value}`); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45231
1441