projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1a3ecb
)
skip invalid files
author
Alan Knowles
<alan@roojs.com>
Wed, 3 Jun 2020 10:06:37 +0000
(18:06 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 3 Jun 2020 10:06:37 +0000
(18:06 +0800)
AssetTrait.php
patch
|
blob
|
history
diff --git
a/AssetTrait.php
b/AssetTrait.php
index
a0e626f
..
acf584f
100644
(file)
--- a/
AssetTrait.php
+++ b/
AssetTrait.php
@@
-56,7
+56,7
@@
trait Pman_Core_AssetTrait {
$mtime = 0;
foreach($ar as $fn) {
$f = basename($fn);
- if (!preg_match('/\.js$/', $f)) { // only javascript files... (so XXX.Dialog.YYY* works..)
+ if (!preg_match('/\.js$/', $f)
|| $fn == '.js'
) { // only javascript files... (so XXX.Dialog.YYY* works..)
continue;
}
// got the 'module file..'