r8638: continue the trend of maknig our C functions true ejs objects by making the...
authorAndrew Tridgell <tridge@samba.org>
Wed, 20 Jul 2005 07:04:07 +0000 (07:04 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:29:48 +0000 (13:29 -0500)
commit620301858a5b747002eebe2b9fcef10712ee8249
tree6736859b378854e534aea94cdb14bf922fb2f293
parent3d59490a4010c00a35113d36c60737001e5c77bb
r8638: continue the trend of maknig our C functions true ejs objects by making the string functions
into an object. To keep existing code working I have added:

  string_init(global);

into base.js. That brings the functions into the global scope for our
existing scripts
(This used to be commit a978484738168b82441c4dc4f5f803d349769a4b)
source4/scripting/ejs/smbcalls_string.c
source4/scripting/libjs/base.js
swat/scripting/common.js
testprogs/ejs/sprintf.js