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
/*! | |
* Extract a function's comment, useful to have multiline string | |
* @link https://gist.github.com/lavoiesl/5880516 | |
* | |
* Don't forget to use /*! to avoid the comment being removed in minification | |
*/ | |
// Example: | |
// var myString = function_to_string(function(){/*! | |
// <p> | |
// foo bar |