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

3vot

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

3vot - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

6

index.js

@@ -44,7 +44,8 @@ window = window || { location: { hostname: "3vot.com", protocol: "http" } };

var fileToLoad = "index";
var width = document.documentElement.clientWidth;
var width = _3vot.width = document.documentElement.clientWidth;
var height = _3vot.height = document.documentElement.clientHeight;
for(entry in entries){
var borders = entry.split("-");
if(width > parseInt(borders[0]) && width <= parseInt(borders[1]) ){
fileToLoad = entries[entry];
fileToLoad = _3vot.device = entries[entry];
}

@@ -54,2 +55,3 @@ }

if(!fileToLoad) return console.error("Could not determine a file to load from package.json threevot.screens. 3VOT will load index.js please fix package.json of your app.");
_3vot.el.classList.add(fileToLoad);
return fileToLoad;

@@ -56,0 +58,0 @@ }

{
"name": "3vot",
"version": "0.1.4",
"version": "0.1.5",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

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