forked from Botanical/BotanJS
Fixed some css inheritence order
This commit is contained in:
parent
efb4eb0cde
commit
cc3ec05fb9
@ -173,8 +173,9 @@ class BotanClassResolver:
|
||||
|
||||
cssFile = os.path.splitext( f )[0] + ".css"
|
||||
|
||||
cssGroup = []
|
||||
if not cdef[ "css" ] == "1":
|
||||
cssList.append( cdef )
|
||||
cssGroup.append( cdef )
|
||||
|
||||
f = f.split( PY_SEP )
|
||||
l = len( f )
|
||||
@ -184,9 +185,13 @@ class BotanClassResolver:
|
||||
_def = self.resv.locate( key )
|
||||
|
||||
if _def and not _def[ "css" ] == "1":
|
||||
cssList.append( _def )
|
||||
cssGroup.append( _def )
|
||||
|
||||
cssList.sort( key = lambda x : x[ "src" ] )
|
||||
cssGroup.sort( key = lambda x : x[ "src" ] )
|
||||
cssList.extend( cssGroup )
|
||||
|
||||
for k in cssList:
|
||||
print( k[ "src" ] )
|
||||
|
||||
|
||||
def getCache( self, fileList, cName, mode ):
|
||||
|
@ -1 +1,2 @@
|
||||
// __namespace( "Astro.Starfall.Element.Header" );
|
||||
// __import( "Astro.Bootstrap" );
|
||||
|
@ -1,4 +1,5 @@
|
||||
/** @constructor */
|
||||
SyntaxHighlighter = {};
|
||||
Libraries.SyntaxHighlighter = function (){};
|
||||
|
||||
/** @type {Function} */
|
||||
|
Loading…
Reference in New Issue
Block a user