From d714775d5f4fc32d0dc819d779840ecc85c011ab Mon Sep 17 00:00:00 2001 From: Verneuil Julien Date: Sun, 21 Jun 2015 16:43:36 +0200 Subject: [PATCH] add a jquery_ready function which return a string --- web/CXM_jquery.anubis | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/web/CXM_jquery.anubis b/web/CXM_jquery.anubis index 8c4c9d8..24887db 100644 --- a/web/CXM_jquery.anubis +++ b/web/CXM_jquery.anubis @@ -50,7 +50,13 @@ public define Script String code //javascript code to execute when the document is ready )= script("text/javascript","$(document).ready(function(){"+code+"});"). - + +public define String + jquery_ready + ( + String code //javascript code to execute when the document is ready + )= + "$(document).ready(function(){"+code+"});". /* jQuery default js files */ define List(HTML_Head_Tag) -- libgit2 0.21.4