From cd4259551d656c9bfc91a62cd45b14261c813b20 Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Mon, 8 Feb 2016 16:39:35 -0800 Subject: [PATCH] Rename _mapRule to _mapRuleOntoParent Makes the function name much more explicit about its purpose --- src/lib/style-extends.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/style-extends.html b/src/lib/style-extends.html index 97d71abc5d..3b3896db89 100644 --- a/src/lib/style-extends.html +++ b/src/lib/style-extends.html @@ -25,7 +25,7 @@ var rules = styleUtil.rulesForStyle(style); var self = this; styleUtil.forEachRule(rules, function(rule) { - self._mapRule(rule); + self._mapRuleOntoParent(rule); if (rule.parent) { var m; while ((m = self.rx.EXTEND.exec(rule.cssText))) { @@ -46,7 +46,7 @@ }, true); }, - _mapRule: function(rule) { + _mapRuleOntoParent: function(rule) { if (rule.parent) { var map = rule.parent.map || (rule.parent.map = {}); var parts = rule.selector.split(',');