forked from vistarmedia/quips
-
Notifications
You must be signed in to change notification settings - Fork 1
/
quips.coffee
48 lines (42 loc) · 1.77 KB
/
quips.coffee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
module.exports =
# Models
Model: require './models/model'
Loader: require './models/loader'
User: require './models/user'
# Collections
Collection: require './models/collection'
FilteredCollection: require './models/filtered_collection'
# Views
View: require './views/view'
DetailView: require './views/detail_view'
ListView: require('./views/list_view').ListView
LoginView: require './views/login/login_view'
NavigationView: require './views/navigation_view'
NoticeView: require './views/notice_view'
RowView: require('./views/list_view').RowView
# Controllers
Controller: require './controllers/controller'
FormController: require './controllers/form_controller'
LoginController: require './controllers/login_controller'
NavigationController: require './controllers/navigation_controller'
# Forms
FormView: require('./lib/forms').FormView
stringField: require('./lib/forms').stringField
intField: require('./lib/forms').intField
moneyField: require('./lib/forms').moneyField
boolField: require('./lib/forms').boolField
dateField: require('./lib/forms').dateField
dateTimeField: require('./lib/forms').dateTimeField
# Formatters
formatters:
date: require('./lib/format').date
dateTime: require('./lib/format').dateTime
boolean: require('./lib/format').boolean
money: require('./lib/format').money
number: require('./lib/format').number
modelNames: require('./lib/format').modelNames
zipCode: require('./lib/format').zipCode
# Test
ChaiExtensions: require './test/lib/chai_extensions'
MockHttpServer: require('./test/lib/mock_server').MockHttpServer
Combiner: require './lib/combiner'