Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

azdom

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azdom - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

15

azdom.js

@@ -32,10 +32,5 @@ import { randGen } from '/node_modules/jsstrgen/jsstrgen.js';

*
* The `componentclass` could optional provide an `azInit(domElement, options)` method for the
* ui component initialization.
*
* The `domElement` could be a dom element, a css style query string, or a function that returns
* any of the types of the `domElement`.
*
* The `options` could be anything that will be comsumed by the `azInit` of the `componentClass`,
* {} by default.
* The `componentclass` could optional provide an `azInit(options)` method for the ui component
* initialization. The `options` could be anything that will be comsumed by the `azInit` of the
* `componentClass`, {} by default.
*/

@@ -48,3 +43,3 @@ az.ui = (componentClass, domElement, options = {}) => {

if (componentObject) {
typeof componentObject.azInit === 'function' && componentObject.azInit(node, options);
typeof componentObject.azInit === 'function' && componentObject.azInit(options);
objCache[objId] = componentObject;

@@ -59,5 +54,5 @@ return componentObject;

node.setAttribute('azdom-' + componentClass.name, objId);
typeof componentObject.azInit === 'function' && componentObject.azInit(node, options);
typeof componentObject.azInit === 'function' && componentObject.azInit(options);
objCache[objId] = componentObject;
return componentObject;
};
{
"name": "azdom",
"version": "0.0.7",
"version": "0.0.8",
"description": "A DOM manager library.",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc