Skip to content

Commit

Permalink
Expose CSVEditor in tablr service
Browse files Browse the repository at this point in the history
  • Loading branch information
abe33 committed Nov 25, 2016
1 parent 1f71d3a commit 18e40d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/tablr.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,9 @@ module.exports =
Table ?= require './table'
DisplayTable ?= require './display-table'
TableEditor ?= require './table-editor'
CSVEditor ?= require './csv-editor'

{Table, DisplayTable, TableEditor, Range}
{Table, DisplayTable, TableEditor, Range, CSVEditor}

deserializeCSVEditor: (state) ->
CSVEditor ?= require './csv-editor'
Expand Down
2 changes: 2 additions & 0 deletions spec/services-spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Table = require '../lib/table'
DisplayTable = require '../lib/display-table'
TableEditor = require '../lib/table-editor'
Range = require '../lib/range'
CSVEditor = require '../lib/csv-editor'

describe 'Tablr', ->
describe '.provideTablrModelsServiceV1', ->
Expand All @@ -15,3 +16,4 @@ describe 'Tablr', ->
expect(api.DisplayTable).toEqual(DisplayTable)
expect(api.TableEditor).toEqual(TableEditor)
expect(api.Range).toEqual(Range)
expect(api.CSVEditor).toEqual(CSVEditor)

0 comments on commit 18e40d4

Please sign in to comment.