amalgame/commit
minor in comments and code cleanup
author | Jacco van Ossenbruggen |
---|---|
Fri Aug 8 21:45:15 2014 +0200 | |
committer | Jacco van Ossenbruggen |
Fri Aug 8 21:45:15 2014 +0200 | |
commit | 446043e82bc666b71a55947a6db47f1ef2a758e7 |
tree | d78e48ecdeb45cfc3c1814c524e8059a8822ff76 |
parent | 00830ed5398074f58976efc82764a3b7560eed5d |
Diff style: patch stat
diff --git a/web/js/mappinglist.js b/web/js/mappinglist.js index 772034e..95d8342 100644 --- a/web/js/mappinglist.js +++ b/web/js/mappinglist.js @@ -1,8 +1,8 @@ +/* this widget lists the available mapping nodes to choose from. + * Not to be confused with the mapping table, + * which lists the correspondences for a single mapping node. + */ YUI.add('mappinglist', function(Y) { - var Lang = Y.Lang, - Node = Y.Node, - Widget = Y.Widget; - function MappingList(config) { MappingList.superclass.constructor.apply(this, arguments); } @@ -22,7 +22,7 @@ YUI.add('mappinglist', function(Y) { }, destructor : function() {}, renderUI : function() { - this.listNode = this.get("contentBox").appendChild(Node.create("<table class='mappinglist'></table>")); + this.listNode = this.get("contentBox").appendChild(Y.Node.create("<table class='mappinglist'></table>")); }, bindUI : function() { this._history.on('selectedChange', this._onSelectChange, this);