@pnp/core
Advanced tools
Comparing version 3.0.0-v3nightly.20210926 to 3.0.0-v3nightly.20210927
@@ -31,9 +31,9 @@ import { objectDefinedNotNull } from "../util.js"; | ||
for (let i = 0; i < keys.length; i++) { | ||
const key = keys[i]; | ||
const on = this.on[key]; | ||
if (behavior === "replace") { | ||
this.on[keys[i]].clear(); | ||
on.clear(); | ||
} | ||
const momentObservers = clonedSource[keys[i]]; | ||
momentObservers.forEach(v => { | ||
this.on[keys[i]](v); | ||
}); | ||
const momentObservers = clonedSource[key]; | ||
momentObservers.forEach(v => on(v)); | ||
} | ||
@@ -40,0 +40,0 @@ return this; |
import { isArray } from "./util.js"; | ||
// TODO:: docs | ||
// - you don't need error handling here because that is handled in emit within the timeline | ||
// - implement first as an example Promise.all(...obs) | ||
// - explain why we have just these - it is what we needed. | ||
@@ -6,0 +5,0 @@ /** |
{ | ||
"name": "@pnp/core", | ||
"version": "3.0.0-v3nightly.20210926", | ||
"version": "3.0.0-v3nightly.20210927", | ||
"description": "pnp - provides shared functionality across all pnp libraries", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -35,3 +35,3 @@ export declare type DateAddInterval = "year" | "quarter" | "month" | "week" | "day" | "hour" | "minute" | "second"; | ||
* | ||
* @param cf The thing to test for functionness | ||
* @param f The thing to test for functionness | ||
*/ | ||
@@ -38,0 +38,0 @@ export declare function isFunc(f: any): boolean; |
@@ -87,3 +87,3 @@ /** | ||
* | ||
* @param cf The thing to test for functionness | ||
* @param f The thing to test for functionness | ||
*/ | ||
@@ -90,0 +90,0 @@ export function isFunc(f) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
77382
1258