Module: FrontCompiler::JavaScript::SelfBuilder

Included in:
FrontCompiler::JavaScript
Defined in:
lib/front_compiler/java_script/self_builder.rb

Constant Summary collapse

MINUMUM_REPLACEABLE_TOKEN_SIZE =
3
MAXIMUM_DICTIONARY_SIZE =
150

Instance Method Summary collapse

Instance Method Details

#create_self_buildObject



12
13
14
15
# File 'lib/front_compiler/java_script/self_builder.rb', line 12

def create_self_build
  rehashed_version = process_hashes_in(self)
  rehashed_version.size > self.size ? self : rehashed_version
end