Permalink
Browse files

+ cursory style guide application to entire ender source.

+ The source is exploding now and no tests pass :P
+ This also includes addition of comments suggestion by jdalton

+ todo: get code passing
+ todo: write more testsss horray
  • Loading branch information...
1 parent bc84cba commit eaea4e07ae22801bd2cef22a2b8f7e48f7ed9105 @fat fat committed Jul 1, 2011
Showing with 694 additions and 535 deletions.
  1. +5 −0 doc/styleguide.md
  2. +413 −284 lib/ender.file.js
  3. +21 −23 lib/ender.get.js
  4. +158 −147 lib/ender.npm.js
  5. +69 −60 lib/ender.search.js
  6. +28 −20 lib/ender.util.js
  7. +0 −1 package.json
View
@@ -346,3 +346,8 @@ so that's where they belong.
function callback () { ... } //installs packages
```
+
+## SMALL LITTLE NITS
+
+- **RULE**: No spaces around brackets: ['foo', 'bar', 'baz']
+- **RULE**: Single quotes > double quotes
Oops, something went wrong.

0 comments on commit eaea4e0

Please sign in to comment.