WordPress.org

Plugin Directory

Changeset 761937


Ignore:
Timestamp:
08/25/13 08:58:08 (4 years ago)
Author:
tillkruess
Message:

use for instead of _.map in svgPainter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mp6/trunk/js/svg-painter.js

    r761582 r761937  
    4242 
    4343            // loop through all elements 
    44             _.map( this.elements, function( $element ) { 
    45  
     44            for ( var key in this.elements ) { 
     45 
     46                var $element = this.elements[key]; 
    4647                var $parent = $element.parent(); 
    4748 
     
    6465                } 
    6566 
    66             }); 
     67            } 
    6768 
    6869        }, 
Note: See TracChangeset for help on using the changeset viewer.