Commit graph

20 commits

Author SHA1 Message Date
Sacha Greif
50c48745a3 migrating to Flow Router (WIP) 2015-09-17 14:51:14 +09:00
Sacha Greif
44f872cb1a add explicit moduleData argument to modules; clean up module code 2015-08-16 17:36:40 +09:00
Sacha Greif
773aa026d2 adding moduleClass helper to modules 2015-08-16 17:34:54 +09:00
Sacha Greif
089706dea6 history update; various tweaks 2015-08-03 20:03:06 +09:00
Sacha Greif
b02b5688b3 removing module template to simplify template structure 2015-07-20 10:11:55 +09:00
Sacha Greif
2d13f42c75 enable using template as menuLabel; icon tweaks 2015-07-16 12:03:15 +09:00
Sacha Greif
53fad7f3db renamed "postsListTop" zone to "top"; removed footer template; added Telescope.debug.refresh() function; improved debugging 2015-07-15 12:33:06 +09:00
Sacha Greif
6c10a8e4df renamed nav template to header; more template and CSS tweaks 2015-07-14 21:45:18 +09:00
Sacha Greif
793019297e more work on debug package; started restructuring templates to wrap them all in an outer HTML element and avoid text nodes 2015-07-14 19:39:37 +09:00
Sacha Greif
66bf156169 working on debug package 2015-07-14 16:47:46 +09:00
Jeremy Shimko
8e3c5218da allow hero modules to be full width of viewport
and constrain current internal hero modules back into the .content-wrapper max-width
2015-07-09 10:26:33 -04:00
Sacha Greif
0c492e3012 added canonical link 2015-06-19 16:39:13 +09:00
John Pinkerton
e666e3a5cd Add Extra CSS settings field. Fixes #949 2015-06-11 18:38:04 -04:00
Sacha Greif
29babb9a38 postListTop -> postsListTop; Telescope.utils.colorTable -> Telescope.colorElements.colorTable; reogranize menus code 2015-05-18 11:39:12 +09:00
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
Sacha Greif
8e5446cc75 refactoring custom fields 2015-04-24 09:28:50 +09:00
Sacha Greif
eb0aba65e5 simplifying modules code 2015-04-24 08:13:41 +09:00
Sacha Greif
ab77526a0f namespacing and refactoring template modules 2015-04-23 17:45:37 +09:00
Sacha Greif
d675b21e27 more namespacing 2015-04-23 10:39:58 +09:00
Sacha Greif
362506a199 move core templates 2015-04-22 12:14:59 +09:00