Skip to content

Commit

Permalink
New dist with transpiled object.assign
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Verlicchi committed Apr 6, 2017
1 parent abe2960 commit 5ee1dbe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion dist/lazyload.transpiled.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
'use strict';

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
Expand Down Expand Up @@ -78,7 +80,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
function LazyLoad(instanceSettings) {
_classCallCheck(this, LazyLoad);

this._settings = Object.assign({}, _defaultSettings, instanceSettings);
this._settings = _extends({}, _defaultSettings, instanceSettings);
this._queryOriginNode = this._settings.container === window ? document : this._settings.container;

this._previousLoopTime = 0;
Expand Down
2 changes: 1 addition & 1 deletion dist/lazyload.transpiled.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5ee1dbe

Please sign in to comment.