Permalink
Browse files

Merge pull request #89 from chrsr/master

Very simple regex update
  • Loading branch information...
uxder committed Feb 23, 2012
2 parents 1700751 + 8435b16 commit e71cf826fe17cc38f0706c286b6c13af2117341b
Showing with 1 addition and 1 deletion.
  1. +1 −1 javascript/javascript.js
View
@@ -380,7 +380,7 @@ function copypasta(){
return function(client) {
var text = elem.closest("pre")
.nextAll('pre.rule').eq(0).find('.declaration-block').text();
- text = text.replace(/\/\*.*?\*\//g,''); // strip comments
+ text = text.replace(/ \/\*.*?\*\//g,''); // strip comments
zc.setText( text );
$(elem).fadeOut(50).fadeIn(300)
}

0 comments on commit e71cf82

Please sign in to comment.