Commit graph

5529 commits

Author SHA1 Message Date
Simon Legner
1b58ff1ac0 Update dependency sprockets to 4.2.1 2024-01-06 20:17:46 +01:00
Simon Legner
86f533be0a Fix this.findAllByTag(...).filter is not a function 2024-01-06 19:18:17 +01:00
Simon Legner
5dd454c785
Merge pull request #2005 from freeCodeCamp/renovate/image_optim_pack-0.x-lockfile
Update dependency image_optim_pack to v0.10.1
2024-01-06 18:45:29 +01:00
Simon Legner
74ff9b6f65
Merge pull request #2031 from freeCodeCamp/renovate/rss-0.x-lockfile
Update dependency rss to v0.3.0
2024-01-06 18:41:56 +01:00
Simon Legner
5017405fb9 Replace :terser with Terser.new
https://github.com/ahorek/terser-ruby#usage
2024-01-06 18:21:23 +01:00
Simon Legner
66d682eae9 Replace uglifier with terser
> UglifyJS only works with ES5. If you need to compress ES6, ruby-terser is a better option.

https://github.com/ahorek/terser-ruby
2024-01-06 18:15:26 +01:00
Simon Legner
a06462f6e3 Uglifier::Error: Unexpected token: punc ()).
To use ES6 syntax, harmony mode must be enabled with Uglifier.new(:harmony => true).
2024-01-06 18:03:54 +01:00
Simon Legner
92b009800d
Merge pull request #1441 from freeCodeCamp/decaffeinate
Migrate CoffeeScript to JavaScript
2024-01-06 17:56:53 +01:00
Simon Legner
fe329d6aae Use pointer-events w/o fallback
https://caniuse.com/pointer-events
2024-01-06 17:51:22 +01:00
Simon Legner
aeb9f8037f Fix initEvent method deprecation
https://developer.mozilla.org/en-US/docs/Web/API/Event/initEvent
2024-01-06 17:42:54 +01:00
Simon Legner
0f497e57c8 Use window.requestAnimationFrame w/o fallback
https://caniuse.com/requestanimationframe
2024-01-06 17:38:10 +01:00
Simon Legner
ff7a10c003 Use spread syntax
https://caniuse.com/mdn-javascript_operators_spread
2024-01-06 17:36:25 +01:00
Simon Legner
416363a551 app.ServiceWorker: super() 2024-01-06 17:36:25 +01:00
Simon Legner
9f87a459eb Use const, use arrow callbacks 2024-01-06 17:36:25 +01:00
Simon Legner
82fd7e6547 Use Array.includes and String.includes 2024-01-06 17:36:25 +01:00
Simon Legner
f364659d97 Use optional chaining operator ?.
https://caniuse.com/mdn-javascript_operators_optional_chaining
2024-01-06 17:36:25 +01:00
Simon Legner
eea754d19a ajax: do not clutter global 2024-01-06 16:39:10 +01:00
Simon Legner
228090ad83 ajax: use Object.entries 2024-01-06 16:37:44 +01:00
Simon Legner
a2e74712d3 Remove coffee-script gem 2024-01-06 16:19:21 +01:00
Simon Legner
e5fcde09f9 Sanity-check decaffeinate the rest 2024-01-06 16:18:40 +01:00
Simon Legner
4177026c11 Sanity-check decaffeinate app.views.BasePage 2024-01-06 16:18:40 +01:00
Simon Legner
2dd04a82d8 Sanity-check decaffeinate app.views.Content 2024-01-06 16:18:40 +01:00
Simon Legner
29b0916af0 Sanity-check decaffeinate app.View 2024-01-06 16:18:40 +01:00
Simon Legner
3ea1050e17 Sanity-check decaffeinate app.templates.helpPage 2024-01-06 16:18:40 +01:00
Simon Legner
bcb6f896b5 Sanity-check decaffeinate app.templates.aboutPage 2024-01-06 16:18:40 +01:00
Simon Legner
b4cf756669 Sanity-check decaffeinate app.templates.render 2024-01-06 16:18:40 +01:00
Simon Legner
925732669e Sanity-check decaffeinate util 2024-01-06 16:18:40 +01:00
Simon Legner
c1a424f7e1 Sanity-check decaffeinate class CookiesStore 2024-01-06 16:18:40 +01:00
Simon Legner
c595b2ba9d Sanity-check decaffeinate app.Shortcuts 2024-01-06 16:18:40 +01:00
Simon Legner
3276b2637f Sanity-check decaffeinate class Events 2024-01-06 16:18:40 +01:00
Simon Legner
04d167c9e0 Sanity-check decaffeinate ajax 2024-01-06 16:18:40 +01:00
Simon Legner
262a0b9d56 Sanity-check decaffeinate app.collections.Types 2024-01-06 16:18:40 +01:00
Simon Legner
6f5beacfc4 Sanity-check decaffeinate app.Collection 2024-01-06 16:18:40 +01:00
Simon Legner
c022a29fab Sanity-check decaffeinate app.UpdateChecker 2024-01-06 16:18:40 +01:00
Simon Legner
8103c2899d Sanity-check decaffeinate app.DB 2024-01-06 16:18:40 +01:00
Simon Legner
dc3dd67bca Sanity-check decaffeinate class App 2024-01-06 16:18:40 +01:00
Simon Legner
a945db9bd4 Sanity-check decaffeinate app.views.ListFold 2024-01-06 16:18:40 +01:00
Simon Legner
5f63145de1 Sanity-check decaffeinate app.Settings 2024-01-06 16:18:40 +01:00
Simon Legner
bbadf5f228 Sanity-check decaffeinate app.views.Search 2024-01-06 15:43:24 +01:00
Simon Legner
cf412bd81f Sanity-check decaffeinate app.views.Results 2024-01-06 15:43:24 +01:00
Simon Legner
92b182806b Sanity-check decaffeinate app.views.RdocPage 2024-01-06 15:43:24 +01:00
Simon Legner
1de76bc99d Sanity-check decaffeinate page 2024-01-06 15:43:24 +01:00
Simon Legner
efb3697622 Sanity-check decaffeinate app.Searcher 2024-01-06 15:43:24 +01:00
Simon Legner
978d4a9f64 Sanity-check decaffeinate app.views.Sidebar 2024-01-06 15:43:24 +01:00
Simon Legner
49dbba3de3 Sanity-check decaffeinate app.views.DocPicker 2024-01-06 15:43:24 +01:00
Simon Legner
b201fb269f Sanity-check decaffeinate app.views.SupportTablesPage 2024-01-06 15:43:24 +01:00
Simon Legner
64242c04fe Sanity-check decaffeinate app.views.HiddenPage 2024-01-06 15:43:24 +01:00
Simon Legner
4c1a48059f Sanity-check decaffeinate app.views.Document 2024-01-06 15:43:24 +01:00
Simon Legner
a1713ed4ac Sanity-check decaffeinate app.views.TypeList 2024-01-06 15:43:24 +01:00
Simon Legner
6df17da955 Sanity-check decaffeinate app.views.SidebarHover 2024-01-06 15:43:24 +01:00