Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Thedogecraft committed Jul 17, 2024
1 parent 3a314c4 commit aa1ff23
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cloak.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/other.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Document</title>
<link rel="icon" type="image/x-icon" href="cloaks/favicon.ico" />
<link rel="stylesheet" href="./main.css" />
<script src="../index.js"></script>
<script src="../index.js" type="module"></script>
</head>
<body>
<h1>this is to test cloak for multipages</h1>
Expand Down
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,5 @@ document.addEventListener("DOMContentLoaded", () => {

// this initialize cloak settings
cloak.init();

export default "cloak";
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Tab Cloaking lib",
"main": "index.js",
"scripts": {
"build": "minify index.js > cloak.js && npm publish",
"build": "minify index.js > cloak.js && npm publish --access public",
"min": "minify index.js > cloak.js"
},
"repository": {
Expand Down
5 changes: 5 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
> [!IMPORTANT]
> npm is not working at the moment
>
> >
# CloakJS: Simplifying Tab Cloaking with JavaScript

CloakJS is a lightweight JavaScript library designed for easy tab cloaking.
Expand Down

0 comments on commit aa1ff23

Please sign in to comment.