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

clockish

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clockish - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

5

clock/graphics.js

@@ -92,5 +92,6 @@ /*

if (xpts.length === ypts.length) {
this.xpoints.push.apply(xpts);
this.ypoints.push.apply(ypts);
Array.prototype.push.apply(this.xpoints , xpts);
Array.prototype.push.apply(this.ypoints, ypts);
this.npoints += xpts.length;
this.npoints += xpts.length;
} else {

@@ -97,0 +98,0 @@ logger('xpts and ypts must have the same length');

2

package.json
{
"name": "clockish",
"version": "1.0.3",
"version": "1.0.4",
"description": "A simple vanilla(pure) Javascript library for adding wall clocks to your web application",

@@ -5,0 +5,0 @@ "main": "clock/clock.js",

# clock-js
A simple vanilla(pure) Javascript library for adding wall clocks to your web application
**clock-js** allows you to add a wall-clock to your we application with ease.
**clock-js** allows you to add a wall-clock to your web application with ease.

@@ -44,3 +44,3 @@ ### Background

Note that css-color shou
Note that css-color should be an hexadecimal string e.g: #444 or #45FF22

@@ -101,3 +101,3 @@ To add clock functionality to your webpage, **clock-js** needs a canvas element placed in the right place in the DOM(HTML code). For instance,

If you want a clock that floats on your page, specify the `floating` field in your clock's options, and set it to true. In this case, yo need not add the canvas element to your code. The clock will dynamically create a canvas object and inject it in your HTML code.
If you want a clock that floats on your page, specify the `floating` field in your clock's options, and set it to true. In this case, you need not add the canvas element to your code. The clock will dynamically create a canvas object and inject it in your HTML code.

@@ -104,0 +104,0 @@ You may customize the dynamically created object by specifying the canvas entry:

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