Comparing version 1.0.0 to 1.0.1
@@ -12,3 +12,3 @@ 'use strict'; | ||
* @example | ||
* | ||
*With(obj)[WITH]({o1: o1 => {assert.equal(o1.c, 1);}, o2: o2 => {assert.equal(o2.c, 2);}}) | ||
*/ | ||
@@ -27,3 +27,3 @@ const WITH = Symbol(); | ||
* @example | ||
* With(obj).set({a:1, b:2}).method1().method2('...')() // final call unwraps the object. | ||
* With(obj)[SET]({prop3: 5, prop4: 6}).inc().prop2 | ||
*/ | ||
@@ -30,0 +30,0 @@ const ASSIGN = Symbol(); |
@@ -975,3 +975,3 @@ /** | ||
* @example | ||
* | ||
*With(obj)[WITH]({o1: o1 => {assert.equal(o1.c, 1);}, o2: o2 => {assert.equal(o2.c, 2);}}) | ||
*/ | ||
@@ -990,3 +990,3 @@ declare const WITH: unique symbol; | ||
* @example | ||
* With(obj).set({a:1, b:2}).method1().method2('...')() // final call unwraps the object. | ||
* With(obj)[SET]({prop3: 5, prop4: 6}).inc().prop2 | ||
*/ | ||
@@ -996,2 +996,4 @@ declare const ASSIGN: unique symbol; | ||
* Creates recursive references around properties of a given object. | ||
* @example | ||
* With(obj)[ASSIGN]({prop1: 5, prop2: 6}).inc().prop2 | ||
*/ | ||
@@ -998,0 +1000,0 @@ type RecursiveProp<T> = { |
@@ -10,3 +10,3 @@ /** | ||
* @example | ||
* | ||
*With(obj)[WITH]({o1: o1 => {assert.equal(o1.c, 1);}, o2: o2 => {assert.equal(o2.c, 2);}}) | ||
*/ | ||
@@ -25,3 +25,3 @@ const WITH = Symbol(); | ||
* @example | ||
* With(obj).set({a:1, b:2}).method1().method2('...')() // final call unwraps the object. | ||
* With(obj)[SET]({prop3: 5, prop4: 6}).inc().prop2 | ||
*/ | ||
@@ -28,0 +28,0 @@ const ASSIGN = Symbol(); |
{ | ||
"name": "deleight", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A group of 8 libraries for writing accessible and joyfully interactive web applications with traditional HTML, CSS and JavaScript.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
{ | ||
"name": "deleight", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A group of 8 libraries for writing accessible and joyfully interactive web applications with traditional HTML, CSS and JavaScript.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -181,4 +181,2 @@ # Deleight | ||
*NB: Fully tested* | ||
```js | ||
@@ -189,3 +187,5 @@ import { With, SET } from "deleight/withy"; | ||
*NB: Fully tested* | ||
## Installation | ||
@@ -237,1 +237,8 @@ | ||
- Adding and completing examples | ||
## Ideas | ||
- Progressive Web Apps | ||
- Efficient navigation | ||
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
168100
4331
242