Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

minor fixes

  • Loading branch information...
commit d9ecebd2457fbc51b8527c59220fb9ade2c12b57 1 parent a29a3da
@cubiq authored
Showing with 4 additions and 5 deletions.
  1. +4 −5 src/swipeview.js
View
9 src/swipeview.js
@@ -14,8 +14,7 @@ var SwipeView = (function(){
SwipeView = function (el, options) {
var i, l, j,
- el,
- img,
+ element,
page,
count = 0;
@@ -57,12 +56,12 @@ var SwipeView = (function(){
page = i==0 ? this.options.pages.length-1 : i-1;
for (l in this.options.pages[page]) {
- el = document.createElement(l);
+ element = document.createElement(l);
for (j in this.options.pages[page][l]) {
- el[j] = this.options.pages[page][l][j];
+ element[j] = this.options.pages[page][l][j];
}
- div.appendChild(el);
+ div.appendChild(element);
}
this.slider.appendChild(div);
Please sign in to comment.
Something went wrong with that request. Please try again.