<commit_before>require "creact/version"
require "creact/file_handlers"
# require 'jquery'
require 'opal'
# require 'opal-jquery'

module Creact
  def loader
    puts 'Inside loader method.'
  end
  #   opal = Opal::Server.new {|s|
  #     s.append_path 'js'
  #     s.main = 'app'
  #   }
  #   opal_boot_code = Opal::Processor.load_asset_code(opal.sprockets, 'react')
  #   puts 1
  #   puts opal
  #   puts opal_boot_code
  #   puts 2
  # end
end
<commit_msg>Instantiated Opal server. Baby steps.<commit_after>require "creact/version"
require "creact/file_handlers"
# require 'jquery'
require 'opal'
# require 'opal-jquery'

module Creact
  def loader
    opal = Opal::Server.new {|s|
      s.append_path 'js'
      s.main = 'app'
    }
    puts opal
  end
  #   opal = Opal::Server.new {|s|
  #     s.append_path 'js'
  #     s.main = 'app'
  #   }
  #   opal_boot_code = Opal::Processor.load_asset_code(opal.sprockets, 'react')
  #   puts 1
  #   puts opal
  #   puts opal_boot_code
  #   puts 2
  # end
end

{'fraction_non_alphanumeric': 0.12450592885375494, 'fraction_numerical': 0.003952569169960474, 'mean_word_length': 2.7940074906367043, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6834814', 'n_tokens_mistral': 412, 'n_tokens_neox': 405, 'n_words': 87}