Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Force title to string #19

Merged
merged 2 commits into from Jul 5, 2012
Jump to file or symbol
Failed to load files and symbols.
+2 −1
Split
View
@@ -166,7 +166,7 @@ function growl(msg, options, fn) {
case 'Darwin':
args.push(cmd.msg);
args.push('"' + msg + '"');
- if (options.title) args.push(options.title);
+ if (options.title) args.push('"' + options.title + '"');
break;
case 'Linux':
if (options.title) {
View
@@ -14,3 +14,4 @@ growl('Show pdf filesystem icon', { image: 'article.pdf' })
growl('Show pdf filesystem icon', { image: 'article.pdf' }, function(){
console.log('callback');
})
+growl('Show pdf filesystem icon', { title: 'Use show()', image: 'article.pdf' })