overleaf/services/document-updater/app/coffee/sharejs/index.coffee

16 lines
262 B
CoffeeScript
Raw Normal View History

2014-02-12 05:40:42 -05:00
register = (file) ->
type = require file
exports[type.name] = type
try require "#{file}-api"
# Import all the built-in types.
register './simple'
register './count'
register './text'
register './text-composable'
register './text-tp2'
register './json'