{:uriI"file:///root/projects/rails_db/app/assets/javascripts/rails_db/sticky.js?type=application/javascript&pipeline=self&id=5751bbeead954fd06cbd985da6496c3800e9e6f4c53f88e8b448f9eee08f0e5a:ET:load_pathI"3/root/projects/rails_db/app/assets/javascripts;T: filenameI"F/root/projects/rails_db/app/assets/javascripts/rails_db/sticky.js;T: nameI"rails_db/sticky;T:logical_pathI"rails_db/sticky.self.js;T:content_typeI"application/javascript;T: sourceI"window.onload = function() { stickyFooter(); }; function checkForDOMChange() { stickyFooter(); }; window.onresize = function() { stickyFooter(); }; function getCSS(element, property) { var elem = document.getElementsByTagName(element)[0]; var css = null; if (elem.currentStyle) { css = elem.currentStyle[property]; } else if (window.getComputedStyle) { css = document.defaultView.getComputedStyle(elem, null). getPropertyValue(property); } return css; }; function stickyFooter() { if (document.getElementsByTagName("footer")[0].getAttribute("style") != null) { document.getElementsByTagName("footer")[0].removeAttribute("style"); } if (window.innerHeight != document.body.offsetHeight) { var offset = window.innerHeight - document.body.offsetHeight; var current = getCSS("footer", "margin-top"); if (isNaN(current) == true) { document.getElementsByTagName("footer")[0].setAttribute("style","margin-top:0px;"); current = 0; } else { current = parseInt(current); } if (current+offset > parseInt(getCSS("footer", "margin-top"))) { document.getElementsByTagName("footer")[0].setAttribute("style","margin-top:"+(current+offset)+"px;"); } } }; ;T: metadata{ :dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"Tfile-digest:///root/projects/rails_db/app/assets/javascripts/rails_db/sticky.js;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%\@^e%q '2u: lengthi:dependencies_digest"%D#3Paՠy r>ؚ[B:idI"E5751bbeead954fd06cbd985da6496c3800e9e6f4c53f88e8b448f9eee08f0e5a;F: mtimel+-Y