/* jshint browser: true, devel: true, indent: 2, curly: true, eqeqeq: true, futurehostile: true, latedef: true, undef: true, unused: true */
/* global $, jQuery, document, Modernizr */

function l(data) {
  'use strict';
  console.log(data);
}

var 
	menuItemWidth,
	svgHeight;

jQuery(document).ready(function () {
  'use strict';
  l('Hola Globie');

$('svg').load(function() {
	$('.js-svg-container').each(function() {
		menuItemWidth = $(this).children('a').width();
		$(this).css( 'width' , menuItemWidth );
	});
	$('.main-menu').css('visibility','visible');
});
  
});
/* jshint browser: true, devel: true, indent: 2, curly: true, eqeqeq: true, futurehostile: true, latedef: true, undef: true, unused: true */
/* global $, jQuery, document, Modernizr */

function l(data) {
  'use strict';
  console.log(data);
}

var 
	menuItemWidth,
	svgHeight;

jQuery(document).ready(function () {
  'use strict';
  l('Hola Globie');

	$('.expand input').on({
		focusin: function(){
			$(this).siblings('svg').find('.zigzag').attr('class', 'zigzag small-stroke');
		},
		focusout: function() {
			$(this).siblings('svg').find('.zigzag').attr('class', 'zigzag');
		}
	});

	$('svg').load(function() {
		$('.js-svg-container').each(function() {
			menuItemWidth = $(this).children('a').width();
			$(this).css( 'width' , menuItemWidth );
		});
		$('.main-menu').css('visibility','visible');
	});
  
});
add functions to change zigzag stroke width on focus