Method: Wedge#append_paths

Defined in:
lib/wedge.rb

#append_pathsArray

Append the correct paths to opal.



74
75
76
77
78
79
80
# File 'lib/wedge.rb', line 74

def append_paths
  @append_paths ||= begin
    file = method(:components).source_location.first.sub('/wedge.rb', '')
    Wedge::Opal.append_path file
    Wedge::Opal.append_path Dir.pwd
  end
end