mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-19 09:43:16 +02:00
...
This commit is contained in:
parent
0476cbc5ef
commit
c58aaff84e
2 changed files with 3 additions and 1 deletions
File diff suppressed because one or more lines are too long
|
|
@ -36,6 +36,8 @@ def parse_baselib(src):
|
|||
else:
|
||||
in_func.append(line)
|
||||
funcs = {k:'\n'.join(v) for k, v in funcs.iteritems()}
|
||||
# use my own version of print
|
||||
funcs['print'] = 'def _$rapyd$_print(*args):\n if isinstance(console, Object): console.log.apply(console, args)\n'
|
||||
return funcs
|
||||
|
||||
def compile_baselib(ctx, baselib, beautify=True):
|
||||
|
|
|
|||
Loading…
Reference in a new issue