Commits

Jop de Klein committed 6f120d6

Renamed iterator._getDescendantsByTagName -> iterator._getDescendants

  • Participants
  • Parent commits 7861f27

Comments (0)

Files changed (1)

File js/snap.iterator.js

         
         var _getDescendantsFromRoot = function () {
             return [settings.root].concat(
-                _getDescendantsByTagName(settings.root)
+                _getDescendants(settings.root)
             );
         };
         
-        var _getDescendantsByTagName = function (element) {
+        var _getDescendants = function (element) {
             var elements = element.getElementsByTagName('*');
 
             // Convert collection to array