Sha256: f099c5f8b430dee2cabd90854d693a9b3d3592cc5e19cb2150e462764615766c
Contents?: true
Size: 881 Bytes
Versions: 10
Compression:
Stored size: 881 Bytes
Contents
$(function() { if($('#first-focus').length > 0) { $('#first-focus').focus(); } }); var Strappy = function() { return { updateSortables: function(parent) { var elems = $(parent + ' ul li .position'), i = 1 elems.each(function() { this.value = i++ }) }, sizeTehToolbars: function() { $('.textile-toolbar').each(function() { box_id = this.id.replace('textile-toolbar-', '') $(this).css('width', $('#' + box_id).css('width')) }) }, load_gat: function(code) { if (code) { var host = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); jQuery.getScript(host + "google-analytics.com/ga.js", function(){ var tracker = _gat._getTracker(code); tracker._initData(); tracker._trackPageview(); }); } } }; }();
Version data entries
10 entries across 10 versions & 1 rubygems