Sha256: 719d4ebf0470230628651d49e674ee39814916f622522bdcf2fdf54fade37be0
Contents?: true
Size: 881 Bytes
Versions: 4
Compression:
Stored size: 881 Bytes
Contents
{I" class:ETI"BundledAsset; FI"logical_path; TI"&peoplefinder/form_input_mapper.js; FI" pathname; TI"`/Users/jakub/code/moj/peoplefinder/app/assets/javascripts/peoplefinder/form_input_mapper.js; FI"content_type; TI"application/javascript; TI" mtime; Tl+Ñ_WTI"length; Ti‰I"digest; TI"%c748f384cbb09bf0c0aecaf38c028b73; FI"source; TI"‰/* global $ */ function FormInputMapper(element) { this._hiddenInput = $(element).find('input[type="hidden"]'); this.active = !!this._hiddenInput.length; } FormInputMapper.prototype.getId = function() { return parseInt(this._hiddenInput.attr('value'), 10); }; FormInputMapper.prototype.setId = function(id) { if (!this.active) { return; } this._hiddenInput.attr('value', id); }; ; TI"required_assets_digest; TI"%605182f434723511e387a64e85a1adcd; FI" _version; TI"%01511319732b44ed6445e68132ed559b; F
Version data entries
4 entries across 2 versions & 1 rubygems