mount-observer 0.0.66 → 0.0.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Newish.ts CHANGED
@@ -48,7 +48,7 @@ export class Newish implements EventListenerObject {
48
48
  ce = isInstance ? initPropVals : new resolvedConstructor() as Ishcycle;
49
49
  if(initPropVals !== undefined && !isInstance) this.queue.push(initPropVals);
50
50
  }else{
51
- ce = new ctr();
51
+ ce = new (ctr as any)();
52
52
  if(initPropVals !== undefined) this.queue.push(initPropVals);
53
53
  }
54
54
  if('tbd' in ce && typeof ce['tbd'] === 'function'){
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mount-observer",
3
- "version": "0.0.66",
3
+ "version": "0.0.67",
4
4
  "description": "Observe and act on css matches.",
5
5
  "main": "MountObserver.js",
6
6
  "module": "MountObserver.js",
package/refid/regIsh.js CHANGED
@@ -23,11 +23,5 @@ export function regIsh(scope, name, ctr) {
23
23
  }
24
24
  };
25
25
  };
26
- ctr.prototype['#arr='] = function (newArr) {
27
- if (newArr === undefined) {
28
- return this[arr];
29
- }
30
- this[arr] = newArr;
31
- };
32
26
  document.dispatchEvent(new Event(guid));
33
27
  }
package/refid/regIsh.ts CHANGED
@@ -26,11 +26,6 @@ export function regIsh(scope: Element | ShadowRoot | Document, name: string, ctr
26
26
  }
27
27
  };
28
28
  };
29
- ctr.prototype['#arr='] = function(newArr?: any[]){
30
- if(newArr === undefined){
31
- return this[arr];
32
- }
33
- this[arr] = newArr;
34
- }
29
+
35
30
  document.dispatchEvent(new Event(guid));
36
31
  }
@@ -216,7 +216,7 @@ export interface BindishOptions{
216
216
  * to indicate that the initial
217
217
  */
218
218
  csr?: boolean,
219
- ctr?: {new() : Ishcycle},
219
+ ctr?: IshCtr,
220
220
  initPropVals?: any,
221
221
  }
222
222
 
@@ -564,4 +564,6 @@ export interface Clone$Options{
564
564
  itemTemplate: HTMLTemplateElement;
565
565
  baseCrumb: string,
566
566
  idleTimeout: number,
567
+ //model?: any,
568
+ listProp?: string,
567
569
  }