Make ResourceLoader::makeComment a public static method
authorOri Livneh <ori@wikimedia.org>
Sun, 11 Aug 2013 07:11:17 +0000 (15:11 +0800)
committerOri Livneh <ori@wikimedia.org>
Sun, 11 Aug 2013 07:11:17 +0000 (15:11 +0800)
commit2332eedfa1ed29e756c4e190635a2e6084d24a5b
treeab9303110be90a6c5b06cab05e525407789ef7e4
parent6a7f812143ec621dd54821dbab2162d4b11a6c06
Make ResourceLoader::makeComment a public static method

ResourceLoader::makeComment takes a block of text of converts it into a
/* multi-line comment block */ that is safe for inclusion in JavaScript and CSS
source code. There is no reason for the method to be protected, since it is
generic, useful, and free of side-effects.

Change-Id: Ibe45256eddee2ad30d19adcb2f1c0b0d5578e650
includes/resourceloader/ResourceLoader.php