Comparing version 1.0.2 to 1.0.3
@@ -73,4 +73,10 @@ (function(window, $, undefined) { | ||
Audio.prototype.stop = function() { | ||
audio.pause(); | ||
$('#soundAudio')[0].play(); | ||
$('#pause').addClass('imusic-control-pressed'); | ||
$('.imusic-tape-wheel-left').removeClass('clockwise'); | ||
$('.imusic-tape-wheel-right').removeClass('anticlockwise'); | ||
this.element[0].pause(); | ||
this.paused = false; | ||
$('#pause').removeClass('imusic-control-pressed'); | ||
}; | ||
@@ -103,2 +109,3 @@ | ||
},100); | ||
$('#pause').removeClass('imusic-control-pressed'); | ||
} | ||
@@ -105,0 +112,0 @@ |
{ | ||
"name": "imusic", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "imusic", | ||
@@ -5,0 +5,0 @@ "bin": "./bin/imusic", |
## imusic | ||
music player | ||
Music player | ||
@@ -17,2 +17,4 @@ ## Screenshot | ||
#### 在有音乐的本地目录下,输入命令行: | ||
```shell | ||
@@ -19,0 +21,0 @@ $ imusic |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
1
26
2
2
283395
26
1060