1
0
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:
Kris Maglione
2013-08-21 22:55:55 -07:00
parent e5864bfd23
commit c89f3e0df5
21 changed files with 106 additions and 134 deletions

View File

@@ -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);