#!/usr/bin/env perl
use strict;
plan tests => 2;
{
my $js = JavaScript::Writer->new;
$js->object("Widget.Lightbox")->call("show", "Nihao");
is $js->as_string(), 'Widget.Lightbox.show("Nihao");'
}
{
my $js = JavaScript::Writer->new;
$js->object("Widget.Lightbox")->call("show", "Nihao");
is $js->as_string(), 'Widget.Lightbox.show("Nihao");'
}