projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99d3b47
)
MTrackWeb.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 26 Jul 2011 07:39:05 +0000
(15:39 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 26 Jul 2011 07:39:05 +0000
(15:39 +0800)
MTrackWeb.php
patch
|
blob
|
history
diff --git
a/MTrackWeb.php
b/MTrackWeb.php
index
c4e5b56
..
f62d934
100644
(file)
--- a/
MTrackWeb.php
+++ b/
MTrackWeb.php
@@
-511,6
+511,20
@@
class MTrackWeb extends HTML_FlexyFramework_Page
}
+ function packJS($dir)
+ {
+
+ // target has to be 'aliased'
+ // target filename can be an md5..
+
+ require_once 'Pman/Core/JsCompile.php';
+ $x = new Pman_Core_JsCompile();
+ $x->packScript(dirname(__FILE__).'/Hex/templates/images',
+ array($dir),
+ $this->rootURL . '/Hex/templates/images');
+
+
+ }