Skip to content
Permalink
Browse files

updated: dev dependencies and get rid of ungap polyfills

  • Loading branch information...
GianlucaGuarini committed Mar 27, 2019
1 parent 30ac3c6 commit 14342b7ec6a7941e7ef4e00c7579b91f6e0f3b39
Showing with 2,103 additions and 584 deletions.
  1. +4 −4 dist/esm.dom-bindings.js
  2. +8 −8 dist/umd.dom-bindings.js
  3. +2,074 −560 package-lock.json
  4. +10 −10 package.json
  5. +4 −2 rollup.config.js
  6. +3 −0 src/map.js
@@ -20,7 +20,7 @@ var bindingTypes = {
TAG
};

var Map$1 = {};
/* get rid of the @ungap/essential-map polyfill */

const append = (get, parent, children, start, end, before) => {
if ((end - start) < 2)
@@ -134,7 +134,7 @@ const HS = (
for (let i = 1; i < minLen; i++)
tresh[i] = currentEnd;

const keymap = new Map$1;
const keymap = new Map;
for (let i = currentStart; i < currentEnd; i++)
keymap.set(currentNodes[i], i);

@@ -281,7 +281,7 @@ const applyDiff = (
currentLength,
before
) => {
const live = new Map$1;
const live = new Map;
const length = diff.length;
let currentIndex = currentStart;
let i = 0;
@@ -1480,4 +1480,4 @@ function create$6(html, bindings = []) {
* )
*/

export { create$6 as template, create$5 as createBinding, bindingTypes, expressionTypes };
export { bindingTypes, create$5 as createBinding, expressionTypes, create$6 as template };
@@ -1,8 +1,8 @@
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.riotDOMBindings = {})));
}(this, (function (exports) { 'use strict';
(global = global || self, factory(global.riotDOMBindings = {}));
}(this, function (exports) { 'use strict';

/**
* Remove the child nodes from any DOM node
@@ -26,7 +26,7 @@
TAG
};

var Map$1 = {};
/* get rid of the @ungap/essential-map polyfill */

const append = (get, parent, children, start, end, before) => {
if ((end - start) < 2)
@@ -140,7 +140,7 @@
for (let i = 1; i < minLen; i++)
tresh[i] = currentEnd;

const keymap = new Map$1;
const keymap = new Map;
for (let i = currentStart; i < currentEnd; i++)
keymap.set(currentNodes[i], i);

@@ -287,7 +287,7 @@
currentLength,
before
) => {
const live = new Map$1;
const live = new Map;
const length = diff.length;
let currentIndex = currentStart;
let i = 0;
@@ -1486,11 +1486,11 @@
* )
*/

exports.template = create$6;
exports.createBinding = create$5;
exports.bindingTypes = bindingTypes;
exports.createBinding = create$5;
exports.expressionTypes = expressionTypes;
exports.template = create$6;

Object.defineProperty(exports, '__esModule', { value: true });

})));
}));

0 comments on commit 14342b7

Please sign in to comment.
You can’t perform that action at this time.