Created
April 3, 2016 20:31
-
-
Save digitalicarus/c40d47e2783d242ccd766d22c427ae05 to your computer and use it in GitHub Desktop.
function template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function fnTemplate (f) { | |
return f.toString() | |
.replace(/[^\/]*\/\*!/m,'') | |
.replace(/\*\/(.|\s)*/m, ''); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment