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

akilar-candyassets

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

akilar-candyassets - npm Package Compare versions

Comparing version 1.0.15 to 1.0.16

audio/coin.mp3

9

js/coin.js
var tipButtons = document.querySelectorAll('.tip-button')
function coinAudio() {
var coinAudio = document.getElementById("coinAudio");
if (coinAudio) {
coinAudio.play();//有音频时播放
}
}
// Loop through all buttons (allows for multiple buttons on page)

@@ -11,4 +17,4 @@ tipButtons.forEach((button) => {

button.addEventListener('click', () => {
if (/Android|webOS|BlackBerry/i.test(navigator.userAgent)) return true; //媒体选择
if (button.clicked) return
button.classList.add('clicked')

@@ -23,2 +29,3 @@

flipCoin()
coinAudio()
}, 50)

@@ -25,0 +32,0 @@ })

2

package.json
{
"name": "akilar-candyassets",
"version": "1.0.15",
"version": "1.0.16",
"description": "Akilarの糖果屋的静态资源仓库",

@@ -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