No description
Find a file
Maxime Quandalle 94c6121d91 Improve jsHint consistency
This commit touch a lot of lines of code with the goal to be more
rigorous about JavaScript code conventions defined in the `.jshintrc`.

Some modification:

* Add a list of used global symbols in the corresponding section of
  `.jshintrc`
* Use local variables instead of global in a lot of places where the
  keyword `var` was mistakenly forgotten
* Add missing semi-colons after instructions
* Add new lines at the end of files
* Remove trailing whitespaces
* Use newer name of some Meteor APIs, eg `addFiles` instead of
  `add_files`
* Add missing `break` statements in `switch` blocks
* Use `===` instead of `==` and `!==` instead of `!=`
* Remove unused variables

This commit should also fix a few bugs due to this lack of rigor. One
example of that was the test `typeof navElements === "array"` that was
never true because in JavaScript, `typeof [] === "object"`, we
replaced this test by the `_.isArray` method provided by underscore.
It might also fix some potential collision related to global
variables.

There is still plenty of work until Telescope code base passes jsHint
validation, but at least this commit is a step in the right direction.
2015-05-01 18:38:27 +02:00
.meteor use schema transforms and editableBy property to control AutoForm omitted fields 2015-04-27 17:15:16 +09:00
packages Improve jsHint consistency 2015-05-01 18:38:27 +02:00
tests/jasmine Merge branch 'namespace' of https://github.com/TelescopeJS/Telescope into namespace 2015-04-20 13:57:37 +09:00
.editorconfig Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into tests 2015-01-18 13:06:37 -08:00
.gitignore Look for settings in Meteor.settings too (fix #561) 2014-12-04 14:25:51 +09:00
.jshintrc Improve jsHint consistency 2015-05-01 18:38:27 +02:00
.travis.yml Pinning sanjo:jasmine to 0.11.0 2015-01-18 15:48:05 -08:00
get_file_list.sh move users templates and menu and postList components 2015-04-22 12:20:21 +09:00
History.md more namespacing 2015-04-23 10:39:58 +09:00
license.md cleaning up subscriptions 2014-02-18 14:46:53 +09:00
packages.json Got rid of meteorhacks:npm packages; moved email features to their own package 2014-08-29 10:23:11 +09:00
project-tap.i18n renaming i18n helper from "i18n" to "_" 2014-11-25 17:16:00 +09:00
publish_packages.sh stuff 2015-04-25 12:40:23 +09:00
README.md Adding Travis and CodeClimate badges to README 2015-01-18 16:14:26 -08:00
README.nitrous.md Update README.nitrous.md 2014-09-18 18:13:20 -07:00
Roadmap.md fix #331 2014-07-15 07:45:37 +09:00
scss.json Compiling scss as part of build rather than with compass. 2014-11-23 21:11:15 -08:00

Build Status Code Climate

Telescope is an open-source, real-time social news site built with Meteor

Note: Telescope is beta software. Most of it should work but it's still a little unpolished and you'll probably find some bugs. Use at your own risk :)

Note that Telescope is distributed under the MIT License

We Need Your Help!

A lot of work has already gone into Telescope, but it needs that final push to reach its full potential.

So if you'd like to be part of the project, please check out the roadmap and issues to see if there's anything you can help with.

Learn More

Developing on Nitrous.IO

Start hacking on this app on Nitrous.IO in seconds:

Hack TelescopeJS/Telescope on Nitrous.IO