Refactor block_svg to share code between horizontal and vertical versionss.

This commit is contained in:
Rachel Fenichel 2016-02-24 10:19:59 -08:00
parent 9defd1ae79
commit 6ee0744b5c
11 changed files with 4493 additions and 5496 deletions

View file

@ -439,10 +439,10 @@ class Gen_langfiles(threading.Thread):
print("FAILED to create " + f)
def exclude_vertical(item):
return not item.endswith("block_vertical_scratch.js")
return not item.endswith("block_render_svg_vertical.js")
def exclude_horizontal(item):
return not item.endswith("block_svg.js")
return not item.endswith("block_render_svg_horizontal.js")
if __name__ == "__main__":
try: