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

@jeefo/component

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jeefo/component - npm Package Compare versions

Comparing version 0.0.18 to 0.0.19

18

components/renderable_component.js
/* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
* File Name : renderable_component.js
* Created at : 2019-06-26
* Updated at : 2021-02-18
* Updated at : 2021-03-07
* Author : jeefo

@@ -81,7 +81,2 @@ * Purpose :

// Step 1: bind events
if (this.binding_events.length) {
this.bind_events();
}
// Step 2: initialize itself

@@ -138,2 +133,7 @@ if (controller) {

// Step 1: bind events
if (this.binding_events.length) {
this.bind_events();
}
// Step 6: initialize child components

@@ -203,7 +203,5 @@ for (const child of this.children) {

// Event binder template cannot be binded component itself.
const {parent} = self;
this.event_binder = temp_event_binder;
const interpreter = new Interpreter(expression, this);
parent.event_binder = temp_event_binder;
const interpreter = new Interpreter(expression, parent);
return function (event) {

@@ -210,0 +208,0 @@ try {

/* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
* File Name : i_renderable.js
* Created at : 2020-06-08
* Updated at : 2020-10-23
* Updated at : 2021-03-07
* Author : jeefo

@@ -28,4 +28,4 @@ * Purpose :

Controller, controller_name,
}) {
super(name, { Controller, controller_name }, IRenderable);
}, is_directive = false) {
super(name, { Controller, controller_name }, IRenderable, is_directive);

@@ -32,0 +32,0 @@ this.binders = binders;

/* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
* File Name : interpreter.js
* Created at : 2019-06-30
* Updated at : 2021-01-26
* Updated at : 2021-03-07
* Author : jeefo

@@ -32,3 +32,3 @@ * Purpose :

const build_script = ({ id, controller, controller_name }) => {
const build_script = ({ id, controller, controller_name, directives }) => {
if (controller_name) {

@@ -43,2 +43,7 @@ if (controller_name === property) {

return `$ctrls.${ctrl_name}.${property}`;
} else if (directives) {
for (const dir of directives) {
const script = build_script(dir);
if (script) return script;
}
}

@@ -45,0 +50,0 @@ };

{
"name": "@jeefo/component",
"version": "0.0.18",
"version": "0.0.19",
"homepage": "https://github.com/je3f0o/jeefo_component",

@@ -5,0 +5,0 @@ "copyright": "2019",

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