X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=plugins%2Fcompiler.javascript.php;h=a9ac5ca60edb5a788fb0854291fdee8f70cb5a44;hb=3a02cfadf830a3d8b03f660d2526516068b285c5;hp=e2d3e0f562e93c9c3b4c2bc7d40b053b1f29be26;hpb=ba63661ce2f38974002c7e4113320e9d06010853;p=platal.git diff --git a/plugins/compiler.javascript.php b/plugins/compiler.javascript.php index e2d3e0f..a9ac5ca 100644 --- a/plugins/compiler.javascript.php +++ b/plugins/compiler.javascript.php @@ -1,6 +1,6 @@ _parse_attrs($tag_attrs)); - if (!isset($name)) { return null; } - $name = pl_entities(trim($name, '\'"'), ENT_QUOTES); - $name = "javascript/$name.js"; - if ($full) { - global $globals; - $name = $globals->baseurl . '/' . $name; - } - return "?>\n