Skip to content

Commit cd42595

Browse files
committed
Rename _mapRule to _mapRuleOntoParent
Makes the function name much more explicit about its purpose
1 parent 10d2004 commit cd42595

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/lib/style-extends.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
var rules = styleUtil.rulesForStyle(style);
2626
var self = this;
2727
styleUtil.forEachRule(rules, function(rule) {
28-
self._mapRule(rule);
28+
self._mapRuleOntoParent(rule);
2929
if (rule.parent) {
3030
var m;
3131
while ((m = self.rx.EXTEND.exec(rule.cssText))) {
@@ -46,7 +46,7 @@
4646
}, true);
4747
},
4848

49-
_mapRule: function(rule) {
49+
_mapRuleOntoParent: function(rule) {
5050
if (rule.parent) {
5151
var map = rule.parent.map || (rule.parent.map = {});
5252
var parts = rule.selector.split(',');

0 commit comments

Comments
 (0)