Minor code style and assets fix

* Change looping code style in seq_module
* Clone and keep the latest version of jasmine-jquery locally
* Use django-pipeline asset tags
This commit is contained in:
Prem Sichanugrist
2012-05-31 13:22:47 -04:00
parent 0baa6293b5
commit 92971127b3
3 changed files with 323 additions and 7 deletions

View File

@@ -56,8 +56,8 @@ class Module(XModule):
self.contents = [j(self.render_function(e)) for e in self.xmltree]
for i in range(len(self.contents)):
self.contents[i]['title'] = titles[i]
for contents, title in zip(self.contents, titles):
contents['title'] = title
for (content, element_class) in zip(self.contents, child_classes):
new_class = 'other'