Rohitt Vashishtha
b22e8dc2b7
lint: Replace 'return undefined;' with 'return;'.
...
Also adds a custom rule to eslint. Since the recommended way of extending
eslint is to create plugins as standalone npm packages, the separate rule
is published as 'eslint-plugins-empty-returns'.
Fixes #8669 .
2018-03-13 08:22:42 -04:00
Umair Khan
58a82e7c55
localstorage: Allow regex based delete.
2017-04-26 09:11:44 -07:00
Brock Whittaker
8b22b94ab1
Add a LocalStorage wrapper for Zulip.
...
This is a wrapper that allows for versioning and migrations with
localStorage along with safe storage of data that respects data types.
2017-02-23 02:58:22 -08:00
Rafid Aslam
7856217a63
Migrate JS modules to CommonJS style.
...
Closes #1488 .
2016-12-07 16:11:52 -08:00
Leo Franchi
24cb5fb079
Add a localstorage.js module
...
(imported from commit 9f3ab248ce84ce296bb1fb918de3b2dd8cde1ded)
2014-01-23 16:28:58 -05:00