<commit_before>module Doneski
  MODELS = {
    :User => {},
    :Task => {},
    :List => {:save_history! => true}
  }
  PAGES = [:signin, :list]
  def self.load_resources
    @@doneskifavicon ||= Base64.encode64(IO.read("static/images/doneski.png"))
    @@doneskicss ||= Seabright::Stylesheet.new(IO.read('static/stylesheets/doneski.css')).minified
    @@doneskijs ||= Closure::Compiler.new.compile(File.open('static/javascripts/doneski.js', 'r'))
  end
end

require 'closure-compiler'
require 'base64'

require 'seabright/class_factory'
require 'seabright/stylesheet'
Seabright::ClassFactory.setup(Doneski::MODELS, Doneski)

require 'doneski/page'
require 'doneski/signup'
require 'doneski/controller'
require 'doneski/router'

# COMPRESS_ASSETS = true
# Doneski.load_resources<commit_msg>turn on encoding/minify<commit_after>module Doneski
  MODELS = {
    :User => {},
    :Task => {},
    :List => {:save_history! => true}
  }
  PAGES = [:signin, :list]
  def self.load_resources
    @@doneskifavicon ||= Base64.encode64(IO.read("static/images/doneski.png"))
    @@doneskicss ||= Seabright::Stylesheet.new(IO.read('static/stylesheets/doneski.css')).minified
    @@doneskijs ||= Closure::Compiler.new.compile(File.open('static/javascripts/doneski.js', 'r'))
  end
end

require 'closure-compiler'
require 'base64'

require 'seabright/class_factory'
require 'seabright/stylesheet'
Seabright::ClassFactory.setup(Doneski::MODELS, Doneski)

require 'doneski/page'
require 'doneski/signup'
require 'doneski/controller'
require 'doneski/router'

COMPRESS_ASSETS = true
Doneski.load_resources
{'fraction_non_alphanumeric': 0.1580604534005038, 'fraction_numerical': 0.007556675062972292, 'mean_word_length': 5.407258064516129, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5472724', 'n_tokens_mistral': 606, 'n_tokens_neox': 585, 'n_words': 87}