Andrew Stewart
3451932bde
Remove accidentally-left-behind comments
2015-07-14 11:32:54 -07:00
Andrew Stewart
e8f109508b
Replace tomdoc with jsdoc
2015-06-29 10:21:25 -07:00
Andrew Stewart
0b48851885
Remove unnecessary comments at start of files
2015-06-22 09:16:43 -07:00
Andrew Stewart
3f4140bd08
Add util to verify constructor calls use 'new'
2015-05-12 18:47:27 -07:00
Andrew Stewart
62cbae7cff
Switch to ESLint for linting
2015-04-15 08:59:34 -07:00
Andrew Stewart
cccb376679
Consistent top-of-file doc blocks
2015-04-15 08:59:12 -07:00
Edgar Silva
287b4205dd
Offering to the lint godsgit add .!
2015-03-27 15:36:24 -06:00
Edgar Silva
ec4dde7448
Adds error handling to basetar#respond.
2015-03-27 15:18:45 -06:00
Andrew Stewart
c0a3a9439e
Add #respond method to work with events/callbacks
2015-03-19 10:48:45 -07:00
Andrew Stewart
6e3d7c6667
Add helpers to replace some lodash functionality
...
Not a 1:1, and probably much slower than Lodash's ultra-optimised
implementations, but we do enough I/O that it's not really relevant,
is it?
2015-02-23 08:38:12 -08:00
Andrew Stewart
eccdde81a9
Update copyright years
2015-01-07 12:58:50 -08:00
Andrew Stewart
13c388fbf7
Simplify path for method proxying in drivers
2014-12-18 13:19:58 -08:00
Andrew Stewart
ac6b09fe50
Clean up lib for JSHint
2014-12-15 11:15:29 -08:00
Andrew Stewart
38bf5fdfed
Refer to Adaptor instances as 'Connection'
2014-11-14 10:56:45 -08:00
Andrew Stewart
e67ae19882
Remove Connection and Device classes
...
They are now functions that return instances of Adaptors and Drivers
respectively.
2014-11-10 16:06:10 -08:00
Andrew Stewart
a4498d0281
Reduce duplication in Basestar event proxying code
2014-10-02 11:14:19 -07:00
Andrew Stewart
f797cf4c48
Misc. cleanup in Basestar
2014-06-10 18:44:40 -07:00
Andrew Stewart
f91dd7d5c3
Refactor Utils (mostly) out of global namespace
...
This commit reframes the Utils module to be more self-contained, and now only
the Number prototype methods and the every/after/constantly methods are exposed
globally.
I'm unsure about whether these methods can be more scoped such that people can
turn them off if they want, but that's potentially something to look into in the
future.
This commit also updates most of the other source files in Cylon, requiring the
Utils module rather than assuming the methods are in the global namespace.
A similar batch of commits will need to be made for all other Cylon modules to
make sure they don't explode when they can't find #subclass or something like
that.
To make the previously-global methods available, both in submodules and for
people looking for them, all the utility functions are exported in Cylon.Utils.
2014-06-05 12:17:29 -07:00
Andrew Stewart
a9ae09bdce
Remove Basestar from global scope
2014-04-24 16:31:58 -06:00
Andrew Stewart
dc09be6bcc
Remove class cruft and namespace from Basestar
2014-04-24 13:43:00 -06:00
Andrew Stewart
c0c4ce6958
Small changes to appease JSHint
2014-03-07 23:33:59 -08:00
Andrew Stewart
3a46ff7848
Minor cleanups in basestar.js
2014-02-27 21:35:12 -08:00
Andrew Stewart
84916f69e3
Add shortcut for defining adaptor/driver events
2014-02-27 21:17:44 -08:00
Andrew Stewart
520c523971
Refactor Basestar#defineEvent
2014-02-27 18:21:30 -08:00
Andrew Stewart
84f06afa5b
Add specs for event proxying
2014-02-27 18:13:21 -08:00
xixebombilla
8644399276
210 comments JS
2014-02-27 16:42:33 -06:00
deadprogram
c28baa8eeb
Refactor api, basestar & config to pure JS style
2014-02-27 10:58:50 -08:00
deadprogram
b27756abfc
WIP on pure JS revamp
2014-02-27 06:44:53 -08:00