mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 14:02:28 +01:00
more AR whitespace fixes
This commit is contained in:
@@ -50,7 +50,8 @@ function getCharPref(name)
|
||||
}
|
||||
}
|
||||
|
||||
function prefName(key) {
|
||||
function prefName(key)
|
||||
{
|
||||
return "extensions.liberator.datastore." + key;
|
||||
}
|
||||
|
||||
@@ -107,7 +108,8 @@ function ObjectStore(name, store)
|
||||
object = {};
|
||||
};
|
||||
|
||||
this.__iterator__ = function() {
|
||||
this.__iterator__ = function ()
|
||||
{
|
||||
for (let key in object)
|
||||
yield [key, object[key]];
|
||||
};
|
||||
@@ -169,7 +171,8 @@ function ArrayStore(name, store)
|
||||
return index >= 0 ? array[index] : array[array.length + index];
|
||||
};
|
||||
|
||||
this.__iterator__ = function() {
|
||||
this.__iterator__ = function ()
|
||||
{
|
||||
for (let i = 0; i < array.length; i++)
|
||||
yield [i, array[i]];
|
||||
};
|
||||
@@ -228,7 +231,8 @@ var storage = {
|
||||
callback(key, event, arg);
|
||||
},
|
||||
|
||||
saveAll: function storeAll() {
|
||||
saveAll: function storeAll()
|
||||
{
|
||||
for each(key in keys)
|
||||
key.save();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user