File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,9 @@ API.prototype.init = function(){
127
127
this . _renderProperties = [ this . _renderProperties ] ;
128
128
}
129
129
130
- for ( let renderProperty of this . _renderProperties ) {
130
+ var renderProperty ;
131
+ for ( let i in this . _renderProperties ) {
132
+ renderProperty = this . _renderProperties [ i ] ;
131
133
var options = merge ( this . _options , renderProperty . options ) ;
132
134
133
135
if ( options . format == "auto" ) {
@@ -148,8 +150,8 @@ API.prototype.init = function(){
148
150
// The render API call. Calls the real render function.
149
151
API . prototype . render = function ( ) {
150
152
if ( Array . isArray ( this . _renderProperties ) ) {
151
- for ( let renderProperty of this . _renderProperties ) {
152
- render ( renderProperty , this . _encodings , this . _options ) ;
153
+ for ( let i in this . _renderProperties ) {
154
+ render ( this . _renderProperties [ i ] , this . _encodings , this . _options ) ;
153
155
}
154
156
}
155
157
else {
You can’t perform that action at this time.
0 commit comments