Comparing version 1.3.0 to 1.3.1
@@ -463,4 +463,3 @@ var Jvent = require('jvent'), | ||
DriveIn.prototype._createMediaEl = function() { | ||
var mediaEl, | ||
mediaType; | ||
var mediaEl; | ||
@@ -503,4 +502,3 @@ if (this.mediaEl) this._cleanup(); | ||
DriveIn.prototype._prepareContainer = function() { | ||
var containerW = getWidth(), | ||
containerH = getHeight(); | ||
var containerH = getHeight(); | ||
@@ -507,0 +505,0 @@ if (document.body.offsetHeight < containerH) { |
@@ -68,3 +68,3 @@ var internals = {}; | ||
if (children.length) { | ||
internals.eachNode(children, function (childEl, i) { | ||
internals.eachNode(children, function (childEl) { | ||
var newChild = newChildren.shift(); | ||
@@ -80,3 +80,3 @@ if (newChild) { | ||
if (newChildren.length) { | ||
newChildren.forEach(function (newChild, i) { | ||
newChildren.forEach(function (newChild) { | ||
el.appendChild(newChild); | ||
@@ -83,0 +83,0 @@ }); |
{ | ||
"name": "drive-in", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Core library for React Drive-In", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
23120
690