How to turn this into valid javascript?

Posted by Todd Horrtyz on Stack Overflow See other posts from Stack Overflow or by Todd Horrtyz
Published on 2010-05-06T23:12:08Z Indexed on 2010/05/06 23:18 UTC
Read the original article Hit count: 233

Filed under:

If the backslashes don't do it, then what?

[...]
foo: ('lorem ipsum dolor sit amet'),
bar: ('lorem ipsum \(dolor\) sit amet'),
[...]

Here's the full code:

google.load('orkut.share', '1');
google.setOnLoadCallback(function() {
  new google.orkut.share.Button({
    title: 'foo',
    summary: ('foo \(bar\) foo'),
    thumbnail: ('...'),
    destination: '...'}).draw('orkut');
});

© Stack Overflow or respective owner

Related posts about JavaScript