Use $theme->script() method to render module javascript files

This commit is contained in:
Tim Almdal
2009-06-28 16:50:55 -07:00
parent aa31e1f009
commit 5e83ebd6d0
6 changed files with 13 additions and 16 deletions
+1 -1
View File
@@ -19,6 +19,6 @@
*/
class digibug_theme_Core {
static function head($theme) {
return html::script("modules/digibug/js/digibug.js");
$theme->script("modules/digibug/js/digibug.js");
}
}