       #{lines.join(',\n  ')};
     """
 
+
 isEmpty = (str) -> str == ''
 nonEmpty = (str) -> str != ''
 dropEmptyLine = (xs) -> _.dropWhile(xs, isEmpty)

    lines = _.dropWhile(lines, nonEmpty)
    lines = dropEmptyLine(lines)
    new Table(tableLines)
  (tables.map (t) -> console.log(t); t.toSQL(mani)).join('\n\n')

window.onload = ->
  React.render <Changer />, document.getElementById('changer')


Changer = React.createClass
  getInitialState: ->
    csv: """
         ship
         type,class,name,weight
         軽巡洋艦,川内型,那珂,5195
         重巡洋艦,利根型,利根,11213
         """
    sql: ''
    now: ''

