Sashko Stubailo
470df87cef
Replace startsWith
2017-11-10 14:07:10 -08:00
Sashko Stubailo
0da59ee8c9
Switch to more concise require as suggested by Ben
2017-11-10 14:05:43 -08:00
Sashko Stubailo
f6bbe753a3
Remove LivedataTest! 🎉
2017-11-10 14:00:09 -08:00
Sashko Stubailo
46ddbe62d1
Add comments about weird imports
2017-11-10 09:40:15 -08:00
Sashko Stubailo
62a1e507f1
Remove the lazy function for methodId
...
Just generate it when we need it
2017-11-10 09:40:15 -08:00
Sashko Stubailo
d8c89e5070
Arrow function formatting
2017-11-10 09:40:14 -08:00
Sashko Stubailo
84a6310bbc
No more function statements except tests
2017-11-10 09:40:14 -08:00
Sashko Stubailo
bb1a50706a
Fix args and this for stuff that passes through to stream
2017-11-10 09:40:14 -08:00
Sashko Stubailo
78027030e7
Remove underscore from callbacks
2017-11-10 09:40:14 -08:00
Sashko Stubailo
af0ecc0aab
Fix undefined options
2017-11-10 09:40:14 -08:00
Sashko Stubailo
dadd4323e4
No more dynamic method naming
2017-11-10 09:40:14 -08:00
Sashko Stubailo
7b69fa7f48
Add brackets to if/else chain
2017-11-10 09:40:14 -08:00
Sashko Stubailo
90f95641cf
Move onReset into a method
2017-11-10 09:40:14 -08:00
Sashko Stubailo
9095c7e2d6
Move onMessage into method
2017-11-10 09:40:14 -08:00
Sashko Stubailo
34d78acf21
Replace _.isFunction
2017-11-10 09:40:14 -08:00
Sashko Stubailo
17ef5c2955
Make sure all imports have the .js extension
2017-11-10 09:40:14 -08:00
Sashko Stubailo
8a9875cf97
Remove underscore from stream_client_nodejs
2017-11-10 09:40:14 -08:00
Sashko Stubailo
437b7808be
Replace _.all with Array#every
2017-11-10 09:40:14 -08:00
Sashko Stubailo
8788b2d793
Get rid of self=this in method invoker
2017-11-10 09:40:14 -08:00
Sashko Stubailo
0ac733f5ec
Fix an oddly broken line
2017-11-10 09:40:14 -08:00
Sashko Stubailo
4966bc537b
Replace function statements with arrow functions or declarations
2017-11-10 09:40:14 -08:00
Sashko Stubailo
caf91e7932
Add back import that isn't strictly required
2017-11-10 09:40:14 -08:00
Sashko Stubailo
0dd710e580
Replace _.extend with spread
2017-11-10 09:40:14 -08:00
Sashko Stubailo
d6f0fdfb35
Get ClientStream off of LivedataTest
2017-11-10 09:40:14 -08:00
Sashko Stubailo
8bbfd531c1
Make Connection a real class
2017-11-10 09:40:14 -08:00
Sashko Stubailo
2633d962ca
Factor out method invoker
2017-11-10 09:40:14 -08:00
Sashko Stubailo
45928b2cb2
No more self=this
2017-11-10 09:40:14 -08:00
Sashko Stubailo
8fb63d1b86
Clean up urlHelpers
2017-11-10 09:40:14 -08:00
Sashko Stubailo
6a0b94340c
Remove underscore and self=this from stream_client_common
2017-11-10 09:40:14 -08:00
Sashko Stubailo
5da802d642
Remove underscore from one file
2017-11-10 09:40:14 -08:00
Sashko Stubailo
88847faf27
Remove all self=this and convert callbacks to arrow functions
2017-11-10 09:40:14 -08:00
Sashko Stubailo
3739ec98cd
Use classes and inheritance instead of extending prototype
2017-11-10 09:40:14 -08:00
Sashko Stubailo
a6ff818fdc
Reformat package.js, and remove some LivedataTest
2017-11-10 09:40:14 -08:00
Sashko Stubailo
775279d1f5
Refactor some small stuff
2017-11-10 09:40:14 -08:00
Sashko Stubailo
0749a1890a
Make ddp-client more aligned with code style ( #9337 )
...
- single quotes
- 80 char line width
2017-11-09 15:10:19 -05:00
Sashko Stubailo
0dcc4f18e1
Use export from instead of import then export
2017-11-09 08:23:34 -08:00
Sashko Stubailo
5bc54cabce
Organize files into directories: client, common, server, test
2017-11-09 08:22:45 -08:00
Sashko Stubailo
2f099b476e
Get rid of random_stream
2017-11-09 08:22:45 -08:00
Sashko Stubailo
becfd8939b
Refactor stream_client_common to work more like a mixin
2017-11-09 08:22:45 -08:00
Sashko Stubailo
36d8926b99
Remove livedata_common entirely
2017-11-09 08:22:45 -08:00
Sashko Stubailo
266626f897
Add missing import
2017-11-09 08:22:45 -08:00
Sashko Stubailo
cdc4285357
Convert ddp-client to use only api.mainModule for client and server
2017-11-09 08:22:45 -08:00
James Baxley
70e815e7be
Upgrade webapp package's Npm.depends dependencies. ( #9315 )
2017-11-09 10:52:25 -05:00
Ben Newman
a39f502d2c
Define addSource and addMissing dynamic-import helper functions.
2017-11-08 14:40:55 -05:00
Ben Newman
35bc8f0c15
Bump boilerplate-generator package versions.
2017-11-08 14:30:43 -05:00
Ben Newman
84dd4d4ed3
Bump minimongo package version to 1.4.1.
2017-11-08 14:22:28 -05:00
Ben Newman
fa80c17c0e
Bump ddp-server package version to 2.1.1.
2017-11-08 14:03:04 -05:00
Ben Newman
abc349cab7
Update shrinkwrap for ddp-server npm dependencies.
2017-11-08 14:00:59 -05:00
Mitar
8695fbfb0c
Bumping sockjs-node to 0.3.19. ( #9215 )
2017-11-08 20:15:25 +02:00
Simon Fridlund
18f73f2041
Minimongo sorting bug with falsey selector ( #9302 )
...
* Add test for sorting with falsey selector
Falsy selectors should result in empty result and sorting shouldn't blow up.
* Protect sorter from falsey selectors
2017-11-08 11:57:59 -05:00