<commit_before># encoding: utf-8

require 'haml'

module NanocFuel::Helpers
   module Facebook
     def fb_init(app_id)
       fb_init_haml(app_id)
     end

     def fb_init_haml(app_id)
       template = File.read(File.expand_path("../templates/fb_init.haml", __FILE__))
       Haml::Engine.new(template).render(Object.new, :app_id => app_id)
     end
     
     def fb_comments(url, num_posts, width)
       haml_fb_comments(url, num_posts, width)
     end
     
     def fb_comments_haml(url, num_posts, width)
       template = File.read(File.expand_path("../templates/fb_comments.haml", __FILE__))
       Haml::Engine.new(template).render(Object.new, :url => url, :num_posts => num_posts, :width => width)
     end
     
   end
end<commit_msg>fixes fb_comments helper<commit_after># encoding: utf-8

require 'haml'

module NanocFuel::Helpers
   module Facebook
     def fb_init(app_id)
       fb_init_haml(app_id)
     end

     def fb_init_haml(app_id)
       template = File.read(File.expand_path("../templates/fb_init.haml", __FILE__))
       Haml::Engine.new(template).render(Object.new, :app_id => app_id)
     end
     
     def fb_comments(url, num_posts, width)
       fb_comments_haml(url, num_posts, width)
     end
     
     def fb_comments_haml(url, num_posts, width)
       template = File.read(File.expand_path("../templates/fb_comments.haml", __FILE__))
       Haml::Engine.new(template).render(Object.new, :url => url, :num_posts => num_posts, :width => width)
     end
     
   end
end
{'fraction_non_alphanumeric': 0.1219350563286945, 'fraction_numerical': 0.0013253810470510272, 'mean_word_length': 3.114441416893733, 'pattern_counts': {'":': 0, '<': 3, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1766273', 'n_tokens_mistral': 548, 'n_tokens_neox': 533, 'n_words': 95}