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

hypertabs

Package Overview
Dependencies
Maintainers
4
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hypertabs - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

4

index.js

@@ -12,3 +12,3 @@ var h = require('hyperscript')

var content = h('section', { className: '.content' })
var content = h('section.content')
var tabs = Tabs(content, function () { getSelection() })

@@ -35,3 +35,3 @@ var d = h('div.Hypertabs', [

d.add = function (el, change, split) {
var page = h('div', { className: '.page' }, el)
var page = h('div.page', el)
page.content = el

@@ -38,0 +38,0 @@

{
"name": "hypertabs",
"description": "tabbed interface with hyperscript",
"version": "4.0.0",
"version": "4.1.0",
"homepage": "https://github.com/dominictarr/hypertabs",

@@ -6,0 +6,0 @@ "repository": {

@@ -39,8 +39,7 @@ var h = require('hyperscript')

module.exports = function (content, onSelect) {
var tabs = h('section', { className: '.tabs' })
var tabs = h('section.tabs')
var selection
function build_tab (page) {
var link = h('a', {
className: '.link',
var link = h('a.link', {
href: '#',

@@ -60,4 +59,3 @@ onclick: function (ev) {

)
var rm = h('a', {
className: '.close',
var rm = h('a.close', {
href: '#',

@@ -71,3 +69,3 @@ onclick: function (ev) {

var tab = h('div', { className: '.tab' } , [
var tab = h('div.tab', [
link, rm

@@ -74,0 +72,0 @@ ])

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