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

nuclear.js

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuclear.js - npm Package Compare versions

Comparing version 0.0.3 to 0.0.9

example/Toggle.js

9

index.js

@@ -19,3 +19,3 @@ "use strict";

function app (elem, observ, render) {
function app (elem, observ, render, renderOptions) {

@@ -26,3 +26,3 @@ if (!elem) {

var target = start(render, observ);
var target = start(render, observ, renderOptions);
elem.appendChild(target.dom);

@@ -34,3 +34,4 @@

function start (render, observ) {
function start (render, observ, renderOptions) {
var virtualTree;

@@ -41,3 +42,3 @@ var resultsNode;

virtualTree = render(observ);
resultsNode = nuclear.createElement(virtualTree);
resultsNode = nuclear.createElement(virtualTree, renderOptions);
target.dom = resultsNode;

@@ -44,0 +45,0 @@ target.update = function () {

{
"name": "nuclear.js",
"version": "0.0.3",
"version": "0.0.9",
"description": "Modular small front end framework",

@@ -13,4 +13,5 @@ "main": "index.js",

"browser": "run-browser test/index.js",
"cover": "istanbul cover --report html --print detail ./test/index.js",
"view-cover": "istanbul report html && opn coverage/index.html"
"cover": "istanbul cover tape ./test/runner.js",
"open:cover": "open coverage/lcov-report/index.html",
"test:watch": "nodemon test/runner.js"
},

@@ -48,4 +49,6 @@ "repository": {

"tap-spec": "^4.0.2",
"tape": "^4.0.0"
"tape": "^4.0.0",
"jsdom": "^5.6.1",
"nodemon": "^1.3.8"
}
}
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