Created
October 1, 2012 17:07
-
-
Save treasonx/3813041 to your computer and use it in GitHub Desktop.
Insert CSS
This file contains hidden or 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
loadCss: function( cssString, $head) { | |
var $css = $('<style type="text/css">'+cssString+'<style>'); | |
$head = $head || $('head'); | |
$head.append($css); | |
return $css; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment