mastodon/app/javascript
aschmitz fdca411888 Additional fixes for stringified IDs in JSON
These should be the last two. These were identified using eslint to try
to identify any plain casts to JavaScript numbers. (Some such casts are
legitimate, but these were not.)

Adding the following to .eslintrc.yml will identify casts to numbers:

~~~
  no-restricted-syntax:
  - warn
  - selector: UnaryExpression[operator='+'] > :not(Literal)
    message: Avoid the use of unary +
  - selector: CallExpression[callee.name='Number']
    message: Casting with Number() may coerce string IDs to numbers
~~~

The remaining three casts appear legitimate: two casts to array indices,
one in a server to turn an environment variable into a number.
2017-09-19 21:27:43 -05:00
..
fonts Redesign the landing page, mount public timeline on it (#4122) 2017-07-11 15:27:59 +02:00
images Remove redundant width/height values from SVGs to fix Safari bug (#4956) 2017-09-15 00:51:00 +02:00
mastodon Additional fixes for stringified IDs in JSON 2017-09-19 21:27:43 -05:00
packs Redesign video player (#4911) 2017-09-14 03:39:10 +02:00
styles Add will-change to improve scrolling perf (#5001) 2017-09-18 23:29:15 +02:00