Merge "Remove dead code in gr-storage"
This commit is contained in:
@@ -76,14 +76,6 @@
|
|||||||
this._storage.removeItem(this._getEditableContentKey(key));
|
this._storage.removeItem(this._getEditableContentKey(key));
|
||||||
},
|
},
|
||||||
|
|
||||||
getPreferences() {
|
|
||||||
return this._getObject('localPrefs');
|
|
||||||
},
|
|
||||||
|
|
||||||
savePreferences(localPrefs) {
|
|
||||||
this._setObject('localPrefs', localPrefs || null);
|
|
||||||
},
|
|
||||||
|
|
||||||
_getDraftKey(location) {
|
_getDraftKey(location) {
|
||||||
const range = location.range ?
|
const range = location.range ?
|
||||||
`${location.range.start_line}-${location.range.start_character}` +
|
`${location.range.start_line}-${location.range.start_character}` +
|
||||||
|
|||||||
Reference in New Issue
Block a user