PageSourceSearch

https://silla.industries/wp-content/themes/woodmart/js/scripts/wc/woocommerceQuantity.min.js?ver=8.6.1

js silla.industries collected 2026-09-24 09:55:51 UTC 1,014 bytes, 1 lines download raw bytes

1!function(e){woodmartThemeModule.woocommerceQuantity=function(){String.prototype.getDecimals||Object.defineProperty(String.prototype,"getDecimals",{value:function(){var e=(""+this).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return e?Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0)):0},enumerable:!1}),woodmartThemeModule.$document.on("click",".plus, .minus",function(t){t.preventDefault();var a=e(this),o=a.closest(".quantity").find(".qty"),r=parseFloat(o.val()),i=parseFloat(o.attr("max")),l=parseFloat(o.attr("min")),n=o.attr("step");r&&""!==r&&"NaN"!==r||(r=0),""!==i&&"NaN"!==i||(i=""),""!==l&&"NaN"!==l||(l=0),"any"!==n&&""!==n&&void 0!==n&&"NaN"!=parseFloat(n)||(n="1"),a.is(".plus")?i&&(r+parseFloat(n)).toFixed(n.getDecimals())>=i?o.val(i):o.val((r+parseFloat(n)).toFixed(n.getDecimals())):l&&(r-parseFloat(n)).toFixed(n.getDecimals())<=l?o.val(l):r>0&&o.val((r-parseFloat(n)).toFixed(n.getDecimals())),o.trigger("change")})},e(document).ready(function(){woodmartThemeModule.woocommerceQuantity()})}(jQuery);

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.