Sha256: d295394a9f4604d3e69669ed0fbdae3e291a2321d78714d3f54efcf40d65ea27
Contents?: true
Size: 395 Bytes
Versions: 45
Compression:
Stored size: 395 Bytes
Contents
$ -> $('#pagination-size').on 'change', (e) -> queryParameters = {} queryString = location.search.substring(1) re = /([^&=]+)=([^&]*)/g m = undefined while m = re.exec(queryString) queryParameters[decodeURIComponent(m[1])] = decodeURIComponent(m[2]) per_page = $(@).val() queryParameters['per_page'] = per_page location.search = $.param(queryParameters)
Version data entries
45 entries across 45 versions & 1 rubygems