1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-16 18:21:59 +03:00
Commit Graph

12 Commits

Author SHA1 Message Date
David Baker
f29f2a8115 Move getAvatarUrl into the client because it requires an instantiated client to work. Fix bits of client to use opts rather than credentials which doesn't exist. 2015-07-02 18:22:46 +01:00
Kegan Dougal
c73881f3fe Use utils.keys rather than Object.keys for older browsers. 2015-06-08 12:22:23 +01:00
Kegan Dougal
6f4b600c0b Appease closure linter. 2015-06-05 14:54:06 +01:00
Kegan Dougal
7ed92fd4f9 More jsdoc 2015-06-05 14:03:00 +01:00
Kegan Dougal
02064bac8a Recombine initialSync/event high-level logic with HTTP API calls. 2015-06-05 13:30:11 +01:00
Kegan Dougal
300568ef70 Add ability for power users to access the response headers/status code if they desire. 2015-06-05 11:54:27 +01:00
Kegan Dougal
d095eff1a4 Bake in support for promises.
This means we can specify the SDK's dependency on Q to make setting things up
significantly easier.
2015-06-05 11:41:26 +01:00
Kegan Dougal
fce4d5d1d6 Add MatrixError class. More jsdoc voodoo to get things looking right. 2015-06-05 11:28:28 +01:00
Kegan Dougal
7ab3e25218 Add @module docs. Remove browser-build.sh
Add @links for HTML output. Replace browser-build.sh with inline commands
in package.json so building will work on non-unix machines. Update README.
2015-06-04 16:34:00 +01:00
Kegan Dougal
31ffdf8a37 Style checks and more jsdoc. 2015-06-04 16:02:08 +01:00
Kegan Dougal
a95f9d3717 Make MatrixHttpApi a generic API interface; move specifics to MatrixClient.
Add a utils file to store common operations like map() and encodeParams().
Modify MatrixClient and MatrixHttpApi to accepts opts as constructors.
2015-06-04 15:39:36 +01:00
Kegan Dougal
d1e51de7ec Split out matrix.js into different files. Glue things back.
Added a models directory. Added store, http-api and client files. Slowly
transitioning to the architecture outlined in SYJS-5.
2015-06-03 17:55:12 +01:00