From 620301858a5b747002eebe2b9fcef10712ee8249 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 20 Jul 2005 07:04:07 +0000 Subject: 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) --- testprogs/ejs/sprintf.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testprogs/ejs') diff --git a/testprogs/ejs/sprintf.js b/testprogs/ejs/sprintf.js index 4d3d9a7555..6ae8605718 100755 --- a/testprogs/ejs/sprintf.js +++ b/testprogs/ejs/sprintf.js @@ -3,6 +3,8 @@ test sprintf function */ +string_init(local); + function check_result(s, v) { if (s != v) { -- cgit