mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-29 18:05:47 +01:00
Promisify some callbackish functions, and remove spaces around = in default arguments, per Python conventions.
This commit is contained in:
@@ -382,7 +382,7 @@ var Styles = Module("Styles", {
|
||||
return val;
|
||||
},
|
||||
|
||||
completeSite: function (context, content, group = styles.user) {
|
||||
completeSite: function (context, content, group=styles.user) {
|
||||
context.anchored = false;
|
||||
try {
|
||||
context.fork("current", 0, this, function (context) {
|
||||
|
||||
Reference in New Issue
Block a user