Add jQuery.xapi(call, payload, successcb, errorcb) to call the API from
[platal.git] / plugins / compiler.javascript.php
index fb62374..8f4ab90 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2009 Polytechnique.org                              *
+ *  Copyright (C) 2003-2011 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -19,7 +19,7 @@
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************/
 
-function smarty_compiler_javascript($tag_attrs, &$compiler)
+function smarty_compiler_javascript($tag_attrs, $compiler)
 {
     extract($compiler->_parse_attrs($tag_attrs));
     if (!isset($name)) {