Exemplo n.º 1
0
 public function escapeJs($js)
 {
     return parent::escapeJs($js);
 }
Exemplo n.º 2
0
 private function includeJquery()
 {
     $escaper = new Escaper();
     $html = Tag::javascriptInclude("//code.jquery.com/jquery-1.11.1.min.js", false);
     $html .= "\n<script>window.jQuery || document.write('" . trim($escaper->escapeJs(Tag::javascriptInclude('js/jquery-1.11.1.min.js'))) . "');</script>";
     return $html;
 }