Sha256: f1fd9ad18f3b00871a4f30337361e5f15b122db901b7db9ef7caa29b3031b077
Contents?: true
Size: 416 Bytes
Versions: 3
Compression:
Stored size: 416 Bytes
Contents
SpreePagSeguro = function(paymentMethodID) { function isSelected(paymentMethod) { return paymentMethodID && paymentMethod == paymentMethodID } function showOrHide(selector) { return function() { var paymentMethod = $(this).val(); $(selector)[ isSelected(paymentMethod) ? 'hide' : 'show' ](); } } return { showOrHide: showOrHide } }
Version data entries
3 entries across 3 versions & 1 rubygems