From 8fd569ce1ea93871d025c405de3f72a4b8da6b4f Mon Sep 17 00:00:00 2001 From: czaks Date: Tue, 2 Jul 2013 23:58:37 -0400 Subject: [PATCH] tools/inc/lib/jsgettext/: remove unnecessary file --- tools/inc/lib/jsgettext/test.js | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 tools/inc/lib/jsgettext/test.js diff --git a/tools/inc/lib/jsgettext/test.js b/tools/inc/lib/jsgettext/test.js deleted file mode 100644 index 996e9a8a..00000000 --- a/tools/inc/lib/jsgettext/test.js +++ /dev/null @@ -1,27 +0,0 @@ -function _(s) { - return typeof l10n[s] != 'undefined' ? l10n[s] : s; -} -function test(param) { - var a = _("Hello world, testing jsgettext"); - func(_('Test string')); - var reg1 = /"[a-z]+"/i; - var reg2 = /[a-z]+\+\/"aa"/i; - var s1 = _('string 1: single quotes'); - var s2 = _("string 2: double quotes"); - var s3 = _("/* comment in string */"); - var s4 = _("regexp in string: /[a-z]+/i"); - var s5 = jsgettext( "another function" ); - var s6 = avoidme("should not see me!"); - var s7 = _("string 2: \"escaped double quotes\""); - var s8 = _('string 2: \'escaped single quotes\''); - - // "string in comment" - //; - - /** - * multiple - * lines - * comment - * _("Hello world from comment") - */ -} \ No newline at end of file