mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
16 lines
262 B
CoffeeScript
16 lines
262 B
CoffeeScript
|
|
||
|
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'
|