<commit_before>/*
 * Create new space
 */

$("a.new_space_link").fancybox({
  'hideOnContentClick' : false,
	'frameHeight' : 370,
	'frameWidth' : <%=logged_in? ? '300' : '560'%>,
});

$("#create_and_login_link").livequery("click", function(){
  $(this).attr("href","javascript:void(0)").addClass("selected");
  $("#create_and_register_link").removeClass("selected")
  $.get("<%= new_space_path(:register=>false)%>",
        {authenticity_token: "<%=form_authenticity_token()%>"},
        function(data){
          $("#create_space").replaceWith(data);
					$("#fancy_outer").height($("#create_space").height() + 50);
        }<commit_msg>una coma malvada en javascript se cargaba su funcionamiento en explorer, que no en firefox<commit_after>/*
 * Create new space
 */

$("a.new_space_link").fancybox({
  'hideOnContentClick' : false,
	'frameHeight' : 370,
	'frameWidth' : <%=logged_in? ? '300' : '560'%>
});

$("#create_and_login_link").livequery("click", function(){
  $(this).attr("href","javascript:void(0)").addClass("selected");
  $("#create_and_register_link").removeClass("selected")
  $.get("<%= new_space_path(:register=>false)%>",
        {authenticity_token: "<%=form_authenticity_token()%>"},
        function(data){
          $("#create_space").replaceWith(data);
					$("#fancy_outer").height($("#create_space").height() + 50);
        }
{'fraction_non_alphanumeric': 0.22485207100591717, 'fraction_numerical': 0.01775147928994083, 'mean_word_length': 5.352112676056338, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7296453', 'n_tokens_mistral': 483, 'n_tokens_neox': 447, 'n_words': 64}