mirror of
https://github.com/discourse/discourse.git
synced 2025-06-18 11:42:35 +08:00
DEV: apply new coding standards (#10592)
This commit is contained in:
@ -10,7 +10,7 @@ function AttributeHook(namespace, value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
AttributeHook.prototype.hook = function(node, prop, prev) {
|
||||
AttributeHook.prototype.hook = function (node, prop, prev) {
|
||||
if (
|
||||
prev &&
|
||||
prev.type === "AttributeHook" &&
|
||||
@ -23,7 +23,7 @@ AttributeHook.prototype.hook = function(node, prop, prev) {
|
||||
node.setAttributeNS(this.namespace, prop, this.value);
|
||||
};
|
||||
|
||||
AttributeHook.prototype.unhook = function(node, prop, next) {
|
||||
AttributeHook.prototype.unhook = function (node, prop, next) {
|
||||
if (
|
||||
next &&
|
||||
next.type === "AttributeHook" &&
|
||||
|
Reference in New Issue
Block a user