-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO
25 lines (23 loc) · 1.04 KB
/
TODO
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
TODO Coding:
- Move to CommonJS modules and ES6/7
- Use default promises (well supported now)
- Move tests to Mocha/Chai
- Set tests on TravisCI
- Add or remove "_" to the start of private objects (but make it a convention)
- Make dry.js universal/isomorphic
- Requires a bootstrappeable method which resolves Ajax model calls on the server.
- Make it work as a npm module too -> require('dry-js')
- Make it more lightweight if possible (never exceed 15kb minified)
TODO Documentation:
- Document validations
- Document promises and new ajax methods
TODO Testing:
- View.js -> add each event of options.events on view creation (test it)
- Test filters and redirection methods (in app and controller)
- Test rendering multiple controller methods in a same div
- UPDATE AJAX TESTS!!
- Test Ajax custom timeout (dry.ajax({timeout: 3000, ...}))
- Test validations (and return which validation is failing if a model is not valid)
- Change existing tests to include promises
- Test events
- Add more tests in general (models, ajax, events, page navigation, etc)