typed-dom
Advanced tools
Comparing version 0.0.321 to 0.0.322
@@ -1,2 +0,2 @@ | ||
/*! typed-dom v0.0.321 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.322 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.321 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.322 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.321 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.322 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
@@ -711,3 +711,3 @@ if(typeof exports === 'object' && typeof module === 'object') | ||
(function (symbols) { | ||
// Required | ||
// Optional | ||
symbols.proxy = Symbol.for('typed-dom::proxy'); | ||
@@ -719,3 +719,3 @@ // Optional | ||
static get(target) { | ||
return target[symbols.events] ?? target.element[symbols.proxy][symbols.events]; | ||
return target[symbols.events] ?? target.element[symbols.proxy]?.[symbols.events]; | ||
} | ||
@@ -722,0 +722,0 @@ static hasConnectionListener(target) { |
@@ -1,2 +0,2 @@ | ||
/*! typed-dom v0.0.321 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.322 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.321 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.322 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.321 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.322 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.321 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.322 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.321 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.322 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
@@ -711,3 +711,3 @@ if(typeof exports === 'object' && typeof module === 'object') | ||
(function (symbols) { | ||
// Required | ||
// Optional | ||
symbols.proxy = Symbol.for('typed-dom::proxy'); | ||
@@ -719,3 +719,3 @@ // Optional | ||
static get(target) { | ||
return target[symbols.events] ?? target.element[symbols.proxy][symbols.events]; | ||
return target[symbols.events] ?? target.element[symbols.proxy]?.[symbols.events]; | ||
} | ||
@@ -722,0 +722,0 @@ static hasConnectionListener(target) { |
@@ -1,2 +0,2 @@ | ||
/*! typed-dom v0.0.321 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.322 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') |
{ | ||
"name": "typed-dom", | ||
"version": "0.0.321", | ||
"version": "0.0.322", | ||
"description": "A value-level and type-level DOM builder.", | ||
@@ -5,0 +5,0 @@ "private": false, |
@@ -1,2 +0,2 @@ | ||
/*! typed-dom v0.0.321 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.322 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') |
@@ -25,9 +25,9 @@ # typed-dom | ||
DOM manipulation must be easy and reliable, but that doesn't need virtual DOM or unique syntax. Typed-DOM is a minimal API set for easy and reliable DOM manipulation. | ||
DOM manipulation must be easy and reliable, but it doesn't need virtual DOM or unique syntax. Typed-DOM is a minimal API set for easy and reliable DOM manipulation. | ||
|Product|Search method|Problem| | ||
|-|-|-| | ||
|jQuery|Query|Breakable / Unclear dependency| | ||
|Typed-DOM|Type|Slow construction| | ||
|React|Create all and search difference|Breakable / Waste / Complex / Severely dependent / Incomplete clumsy reinventing the browser| | ||
|Product|Access|Dependence|Extensibility|Problem| | ||
|-|-|-|-|-| | ||
|jQuery|Query|Implementation|Plugin|Breakable / Unclear dependency| | ||
|Typed-DOM|Type|Interface|Fork|Slow construction| | ||
|React|Create all and search difference|Implementation|Component|Breakable / Waste / Complex / Severely dependent / Incomplete vain reinvention of the browser| | ||
@@ -34,0 +34,0 @@ ## Usage |
import { splice } from 'spica/array'; | ||
export namespace symbols { | ||
// Required | ||
// Optional | ||
export const proxy = Symbol.for('typed-dom::proxy'); | ||
@@ -19,3 +19,3 @@ // Optional | ||
public static get(target: Target): Events | undefined { | ||
return target[symbols.events] ?? target.element[symbols.proxy]![symbols.events]; | ||
return target[symbols.events] ?? target.element[symbols.proxy]?.[symbols.events]; | ||
} | ||
@@ -22,0 +22,0 @@ public static hasConnectionListener(target: Target): boolean { |
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
387053