update css

This commit is contained in:
rolux 2014-12-18 14:06:33 +00:00
parent 9cc9cf0c5a
commit 743523014b

View file

@ -129,10 +129,11 @@ pandora.ui.apiDialog = function() {
see: action, action, ... see: action, action, ...
*/ */
var $doc = Ox.SyntaxHighlighter({ var $doc = Ox.SyntaxHighlighter({
source: string.replace( source: string.replace(
/\n(?=(takes \{|returns \{|note: |see: ))/g, '\n\n' /\n(?=(takes \{|returns \{|note: |see: ))/g, '\n\n'
) )
}), })
.css({backgroundColor: 'rgba(0, 0, 0, 0)'}),
parts, parts_; parts, parts_;
['Keyword', 'Method', 'Property'].forEach(function(type) { ['Keyword', 'Method', 'Property'].forEach(function(type) {
$doc.find('.Ox' + type).removeClass('Ox' + type); $doc.find('.Ox' + type).removeClass('Ox' + type);