Commit graph

15 commits

Author SHA1 Message Date
Mike Greiling
fe964cc235 migrate all javascript asset bundles and require syntax 2017-01-10 12:30:38 -06:00
Mike Greiling
8e0e902b13 resolve all instances of no-undef eslint rule violations 2016-12-14 02:11:13 -06:00
Mike Greiling
9355ba238b normalize author email so we can treat it as case insensitive 2016-12-10 00:59:39 -06:00
Luke "Jared" Bennett
7cefaea876
explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
Bryce Johnson
5fb226a934 Remove leftover references to coffeescript from comments and docs. 2016-10-31 11:39:52 +01:00
Fatih Acet
dd5e46ab69 Merge branch 'eslint' into 'master'
Add ESLint

## What does this MR do?

- create `package.json`
- add ESLint dependencies to `package.json`
- add JavaScript linting to CI
- add Rake task `lint:javascript`as alias for `eslint` (which itself is an alias for `npm run eslint`)

## Are there points in the code the reviewer needs to double check?

Probably not.

## Why was this MR needed?

My hovercraft was full of eels.

## What are the relevant issue numbers?

- https://gitlab.com/gitlab-org/gitlab-ce/issues/13224#note_12537431
- https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5006#note_13255658


See merge request !5445
2016-10-26 16:31:08 +00:00
Jack Davison
728f1f71a5 Refactored less readable existance checks
CoffeeScript generated JavaScript contains some unreadable
expressions. This refactoring addresses complex uses of
the exestential operator that produced unreadable Javascript.
2016-10-26 14:22:53 +01:00
winniehell
02f94cf038 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
Jared Deckard
7f6474b269 Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
Fatih Acet
aaa9509d12 ES6ify all the things! 2016-07-24 23:45:11 +03:00
Connor Shea
ec8a25ba0b
Replace namespace-specific application.js files with namespace-bundle.js files. 2016-07-15 14:42:28 -06:00
Connor Shea
7ce0968a52
Re-implement page-specific JS in a better way.
This makes larger libraries more cacheable and will allow us to use SRI with the dynamically included libraries.
2016-06-23 10:33:38 -06:00
Connor Shea
e50739f4c7
Apply responsive design for Contributors graphs.
Fixes #18845.
2016-06-20 09:21:14 -06:00
Connor Shea
d9422aef85
Only load Chart.js when necessary. 2016-06-07 15:27:30 -06:00
Connor Shea
026b7abc5a
Attempt to fix the user page. 2016-06-01 19:42:49 -06:00