| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 2× 2× 2× 113× 113× 16× 113× | var CourseStore;
CourseStore = require('../flux/course').CourseStore;
module.exports = {
getCourseDataProps: function(courseId) {
var dataProps;
if (courseId == null) {
courseId = this.context.router.getCurrentParams().courseId;
}
return dataProps = {
'data-title': CourseStore.getName(courseId),
'data-appearance': CourseStore.getAppearanceCode(courseId)
};
}
};
|