Skip to content

Commit

Permalink
fix: include src in npm pkg
Browse files Browse the repository at this point in the history
Signed-off-by: tunnckoCore <5038030+tunnckoCore@users.noreply.github.com>
  • Loading branch information
tunnckoCore committed May 16, 2024
1 parent c02ac2a commit afcb7f8
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion dist/dush.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,8 @@ function dush () {

emit: function emit (name) {
if (name !== '*') {
var args = [].slice.call(arguments);(app._allEvents[name] || []).map(function (handler) {
var args = [].slice.call(arguments)
;(app._allEvents[name] || []).map(function (handler) {
handler.apply(handler, args.slice(1));
})
;(app._allEvents['*'] || []).map(function (handler) {
Expand Down
3 changes: 2 additions & 1 deletion dist/dush.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@ function dush () {

emit: function emit (name) {
if (name !== '*') {
var args = [].slice.call(arguments);(app._allEvents[name] || []).map(function (handler) {
var args = [].slice.call(arguments)
;(app._allEvents[name] || []).map(function (handler) {
handler.apply(handler, args.slice(1));
})
;(app._allEvents['*'] || []).map(function (handler) {
Expand Down
2 changes: 1 addition & 1 deletion dist/dush.umd.js

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

Binary file modified dist/dush.umd.js.gz
Binary file not shown.
Loading

0 comments on commit afcb7f8

Please sign in to comment.