Skip to content

Commit b08ae3f

Browse files
committed
Add comment with explanation for independed pass
1 parent 6451b7d commit b08ae3f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/csscomb.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ Comb.prototype = {
7171
* @returns {Array}
7272
*/
7373
processTree: function(tree) {
74+
75+
// We walk across complete tree for each handler,
76+
// because we need strictly maintain order in which handlers work,
77+
// despite fact that handlers work on different level of the tree.
7478
this._handlers.forEach(function(handler) {
7579
this.processNode(['tree', tree], 0, handler);
7680
}, this);

0 commit comments

Comments
 (0)