mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-08 04:25:46 +01:00
Hello strange new syntax. Can we be friends?
This commit is contained in:
@@ -211,9 +211,8 @@ var Addon = Class("Addon", {
|
||||
},
|
||||
|
||||
update: function callee() {
|
||||
let self = this;
|
||||
function update(key, xml) {
|
||||
let node = self.nodes[key];
|
||||
let update = (key, xml) => {
|
||||
let node = this.nodes[key];
|
||||
while (node.firstChild)
|
||||
node.removeChild(node.firstChild);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user