bastodon/app/javascript/mastodon
CommanderRoot 0ec695e036
Replace deprecated String.prototype.substr() (#17949)
* Replace deprecated String.prototype.substr()

.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

* Change String.prototype.substring() to String.prototype.slice()

.substring() and .slice() work very similary but .slice() is a bit faster and stricter

* Add ESLint rule to forbid usage of .substr and .substring

.substr() is deprecated and .substring() is very similar to .slice() so better to use .slice() at all times

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-04-04 12:19:45 -04:00
..
actions Fix reply button on media modal not giving focus to compose form (#17626) 2022-02-25 00:51:01 +01:00
components Add a hashtag public link to the trending hashtag page (#17140) 2022-03-26 02:52:51 +01:00
containers Spelling (#17705) 2022-03-06 22:51:40 +01:00
features Replace deprecated String.prototype.substr() (#17949) 2022-04-04 12:19:45 -04:00
locales New Crowdin updates (#17864) 2022-03-29 10:51:09 +09:00
middleware
reducers Fix not showing loading indicator when searching in web UI (#17655) 2022-02-27 07:37:07 +01:00
selectors
service_worker Add notifications for new sign-ups (#16953) 2022-02-23 16:45:22 +01:00
storage
store
utils Add graphs and retention metrics to admin dashboard (#16829) 2021-10-14 20:44:59 +02:00
api.js Change routing paths to use usernames in web UI (#16171) 2021-09-26 05:46:13 +02:00
base_polyfills.js
blurhash.js
common.js
compare_id.js
extra_polyfills.js
initial_state.js Fix #16407 (#16432) 2021-06-27 22:31:28 +02:00
is_mobile.js
load_keyboard_extensions.js
load_polyfills.js
main.js
performance.js
ready.js
scroll.js
settings.js
stream.js
test_setup.js
uuid.js