Begin using a Keystore for XML parsing. Still broken: sequence icons, custom tags, problems, video js

This commit is contained in:
Calen Pennington
2012-06-27 14:25:44 -04:00
parent 5b8120280e
commit de07b8b345
27 changed files with 814 additions and 826 deletions

View File

@@ -6,18 +6,5 @@ class ModuleDescriptor(XModuleDescriptor):
pass
class Module(XModule):
id_attribute = 'id'
def get_state(self):
return json.dumps({ })
@classmethod
def get_xml_tags(c):
return ["schematic"]
def get_html(self):
return '<input type="hidden" class="schematic" name="{item_id}" height="480" width="640">'.format(item_id=self.item_id)
def __init__(self, system, xml, item_id, state=None):
XModule.__init__(self, system, xml, item_id, state)