typed-dom
Advanced tools
Comparing version 0.0.333 to 0.0.334
@@ -1,2 +0,2 @@ | ||
/*! typed-dom v0.0.333 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.334 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
@@ -283,11 +283,10 @@ if(typeof exports === 'object' && typeof module === 'object') | ||
let appendable = false; | ||
for (let i = 0; i < nodes.length; ++i) { | ||
for (let i = 0, len = nodes.length; i < len; ++i) { | ||
const node = nodes[i]; | ||
if (node === '') continue; | ||
if (typeof node === 'string') { | ||
if (typeof node === 'object') { | ||
acc.push(node); | ||
appendable = false; | ||
} else if (node !== '') { | ||
appendable ? acc[acc.length - 1] += node : acc.push(node); | ||
appendable = true; | ||
} else { | ||
acc.push(node); | ||
appendable = false; | ||
} | ||
@@ -294,0 +293,0 @@ } |
@@ -1,2 +0,2 @@ | ||
/*! typed-dom v0.0.333 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.334 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
@@ -3,0 +3,0 @@ if(typeof exports === 'object' && typeof module === 'object') |
@@ -1,2 +0,2 @@ | ||
/*! typed-dom v0.0.333 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.334 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
@@ -1206,11 +1206,10 @@ if(typeof exports === 'object' && typeof module === 'object') | ||
let appendable = false; | ||
for (let i = 0; i < nodes.length; ++i) { | ||
for (let i = 0, len = nodes.length; i < len; ++i) { | ||
const node = nodes[i]; | ||
if (node === '') continue; | ||
if (typeof node === 'string') { | ||
if (typeof node === 'object') { | ||
acc.push(node); | ||
appendable = false; | ||
} else if (node !== '') { | ||
appendable ? acc[acc.length - 1] += node : acc.push(node); | ||
appendable = true; | ||
} else { | ||
acc.push(node); | ||
appendable = false; | ||
} | ||
@@ -1217,0 +1216,0 @@ } |
@@ -1,2 +0,2 @@ | ||
/*! typed-dom v0.0.333 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.334 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
@@ -3,0 +3,0 @@ if(typeof exports === 'object' && typeof module === 'object') |
@@ -1,2 +0,2 @@ | ||
/*! typed-dom v0.0.333 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.334 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
@@ -1206,11 +1206,10 @@ if(typeof exports === 'object' && typeof module === 'object') | ||
let appendable = false; | ||
for (let i = 0; i < nodes.length; ++i) { | ||
for (let i = 0, len = nodes.length; i < len; ++i) { | ||
const node = nodes[i]; | ||
if (node === '') continue; | ||
if (typeof node === 'string') { | ||
if (typeof node === 'object') { | ||
acc.push(node); | ||
appendable = false; | ||
} else if (node !== '') { | ||
appendable ? acc[acc.length - 1] += node : acc.push(node); | ||
appendable = true; | ||
} else { | ||
acc.push(node); | ||
appendable = false; | ||
} | ||
@@ -1217,0 +1216,0 @@ } |
@@ -1,2 +0,2 @@ | ||
/*! typed-dom v0.0.333 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.334 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
@@ -3,0 +3,0 @@ if(typeof exports === 'object' && typeof module === 'object') |
@@ -1,2 +0,2 @@ | ||
/*! typed-dom v0.0.333 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.334 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
@@ -283,11 +283,10 @@ if(typeof exports === 'object' && typeof module === 'object') | ||
let appendable = false; | ||
for (let i = 0; i < nodes.length; ++i) { | ||
for (let i = 0, len = nodes.length; i < len; ++i) { | ||
const node = nodes[i]; | ||
if (node === '') continue; | ||
if (typeof node === 'string') { | ||
if (typeof node === 'object') { | ||
acc.push(node); | ||
appendable = false; | ||
} else if (node !== '') { | ||
appendable ? acc[acc.length - 1] += node : acc.push(node); | ||
appendable = true; | ||
} else { | ||
acc.push(node); | ||
appendable = false; | ||
} | ||
@@ -294,0 +293,0 @@ } |
13
dom.js
@@ -1,2 +0,2 @@ | ||
/*! typed-dom v0.0.333 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.334 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
@@ -283,11 +283,10 @@ if(typeof exports === 'object' && typeof module === 'object') | ||
let appendable = false; | ||
for (let i = 0; i < nodes.length; ++i) { | ||
for (let i = 0, len = nodes.length; i < len; ++i) { | ||
const node = nodes[i]; | ||
if (node === '') continue; | ||
if (typeof node === 'string') { | ||
if (typeof node === 'object') { | ||
acc.push(node); | ||
appendable = false; | ||
} else if (node !== '') { | ||
appendable ? acc[acc.length - 1] += node : acc.push(node); | ||
appendable = true; | ||
} else { | ||
acc.push(node); | ||
appendable = false; | ||
} | ||
@@ -294,0 +293,0 @@ } |
@@ -1,2 +0,2 @@ | ||
/*! typed-dom v0.0.333 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.334 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
@@ -3,0 +3,0 @@ if(typeof exports === 'object' && typeof module === 'object') |
13
index.js
@@ -1,2 +0,2 @@ | ||
/*! typed-dom v0.0.333 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.334 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
@@ -1206,11 +1206,10 @@ if(typeof exports === 'object' && typeof module === 'object') | ||
let appendable = false; | ||
for (let i = 0; i < nodes.length; ++i) { | ||
for (let i = 0, len = nodes.length; i < len; ++i) { | ||
const node = nodes[i]; | ||
if (node === '') continue; | ||
if (typeof node === 'string') { | ||
if (typeof node === 'object') { | ||
acc.push(node); | ||
appendable = false; | ||
} else if (node !== '') { | ||
appendable ? acc[acc.length - 1] += node : acc.push(node); | ||
appendable = true; | ||
} else { | ||
acc.push(node); | ||
appendable = false; | ||
} | ||
@@ -1217,0 +1216,0 @@ } |
@@ -1,2 +0,2 @@ | ||
/*! typed-dom v0.0.333 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.334 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
@@ -3,0 +3,0 @@ if(typeof exports === 'object' && typeof module === 'object') |
@@ -1,2 +0,2 @@ | ||
/*! typed-dom v0.0.333 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.334 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
@@ -1206,11 +1206,10 @@ if(typeof exports === 'object' && typeof module === 'object') | ||
let appendable = false; | ||
for (let i = 0; i < nodes.length; ++i) { | ||
for (let i = 0, len = nodes.length; i < len; ++i) { | ||
const node = nodes[i]; | ||
if (node === '') continue; | ||
if (typeof node === 'string') { | ||
if (typeof node === 'object') { | ||
acc.push(node); | ||
appendable = false; | ||
} else if (node !== '') { | ||
appendable ? acc[acc.length - 1] += node : acc.push(node); | ||
appendable = true; | ||
} else { | ||
acc.push(node); | ||
appendable = false; | ||
} | ||
@@ -1217,0 +1216,0 @@ } |
{ | ||
"name": "typed-dom", | ||
"version": "0.0.333", | ||
"version": "0.0.334", | ||
"description": "A value-level and type-level DOM builder.", | ||
@@ -5,0 +5,0 @@ "private": false, |
@@ -1,2 +0,2 @@ | ||
/*! typed-dom v0.0.333 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.334 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
@@ -3,0 +3,0 @@ if(typeof exports === 'object' && typeof module === 'object') |
@@ -1,2 +0,2 @@ | ||
/*! typed-dom v0.0.333 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.334 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
@@ -283,11 +283,10 @@ if(typeof exports === 'object' && typeof module === 'object') | ||
let appendable = false; | ||
for (let i = 0; i < nodes.length; ++i) { | ||
for (let i = 0, len = nodes.length; i < len; ++i) { | ||
const node = nodes[i]; | ||
if (node === '') continue; | ||
if (typeof node === 'string') { | ||
if (typeof node === 'object') { | ||
acc.push(node); | ||
appendable = false; | ||
} else if (node !== '') { | ||
appendable ? acc[acc.length - 1] += node : acc.push(node); | ||
appendable = true; | ||
} else { | ||
acc.push(node); | ||
appendable = false; | ||
} | ||
@@ -294,0 +293,0 @@ } |
@@ -255,6 +255,9 @@ import { isArray, hasOwnProperty } from 'spica/alias'; | ||
let appendable = false; | ||
for (let i = 0; i < nodes.length; ++i) { | ||
for (let i = 0, len = nodes.length; i < len; ++i) { | ||
const node = nodes[i]; | ||
if (node === '') continue; | ||
if (typeof node === 'string') { | ||
if (typeof node === 'object') { | ||
acc.push(node); | ||
appendable = false; | ||
} | ||
else if (node !== '') { | ||
appendable | ||
@@ -265,8 +268,4 @@ ? acc[acc.length - 1] += node | ||
} | ||
else { | ||
acc.push(node); | ||
appendable = false; | ||
} | ||
} | ||
return acc; | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
669853
15633