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