Module: FrontCompiler::JavaScript::LogicCompactor

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

Instance Method Summary collapse

Instance Method Details

#compact_logic!Object

checks and compacts the script-logic



16
17
18
19
20
21
22
# File 'lib/front_compiler/java_script/logic_compactor.rb', line 16

def compact_logic!
  string_safely do
    join_multiline_defs!
    fix_missed_semicolons!
    simplify_constructions_of self
  end
end