(Grav GitSync) Automatic Commit from RealStickman
This commit is contained in:
parent
671e59dd04
commit
53e849a6b4
Binary file not shown.
@ -179,12 +179,8 @@ jQuery(document).ready(function() {
|
||||
var text, clip = new Clipboard('.copy-to-clipboard', {
|
||||
text: function(trigger) {
|
||||
text = $(trigger).prev('code').text();
|
||||
console.log(text);
|
||||
//NOTE custom stuff to strip # from the beginning of my inline command blocks
|
||||
text = text.replace(/^[\$\s\#]*/gm, '');
|
||||
console.log(text);
|
||||
//text = text.substr(1);
|
||||
//console.log(text);
|
||||
//return text.replace(/^\$\s/gm, '');
|
||||
return text.replace(/^\$\s\#\s/gm, '');
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user