Skip to content

Commit

Permalink
update package.json and index.ts file
Browse files Browse the repository at this point in the history
  • Loading branch information
VoloshchenkoAl committed Jul 25, 2020
1 parent 015d4c6 commit 81a62f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "circular-revealer",
"version": "0.0.5",
"version": "0.0.7",
"main": "dist/index.js",
"module": "dist/index.es.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import { Revealer, RevealerParam, Position } from './types';
import { getCircleCenterPosition, getRevealRadius } from './helpers';

function revealer(revealerOptions: RevealerParam): Revealer {
const initialRadius = 0;
const { revealElementSelector, options } = revealerOptions;
const revealBlock = document.querySelector(revealElementSelector) as HTMLElement;
const initialRadius = 0;

let isReveal = false;
let reqId: number = null;
Expand Down

0 comments on commit 81a62f7

Please sign in to comment.