slicexblock/slicexblock/slicexblock.py
def student_view(self, context=None):
        """
        The primary view of the SliceXBlock, shown to students
        when viewing courses.
        """
        html = self.resource_string("static/html/slicexblock.html")
        frag = Fragment(html.format(self=self))
        frag.add_css(self.resource_string("static/css/slicexblock.css"))
        frag.add_javascript(self.resource_string("static/js/src/slicexblock.js"))
        frag.initialize_js('SliceXBlock')
        return frag

        The primary view of the SliceXBlock, shown to students
        when viewing courses.
        
The primary view of the SliceXBlock, shown to students
when viewing courses.
The primary view of the SliceXBlock shown to students when viewing courses .
def student_view(self, context=None):
        html = self.resource_string("static/html/slicexblock.html")
        frag = Fragment(html.format(self=self))
        frag.add_css(self.resource_string("static/css/slicexblock.css"))
        frag.add_javascript(self.resource_string("static/js/src/slicexblock.js"))
        frag.initialize_js('SliceXBlock')
        return frag
def student_view ( self , context = None ) : html = self . resource_string ( "static/html/slicexblock.html" ) frag = Fragment ( html . format ( self = self ) ) frag . add_css ( self . resource_string ( "static/css/slicexblock.css" ) ) frag . add_javascript ( self . resource_string ( "static/js/src/slicexblock.js" ) ) frag . initialize_js ( 'SliceXBlock' ) return frag
The primary view of the SliceXBlock, shown to students
when viewing courses.
The primary view of the SliceXBlock shown to students when viewing courses .
"""
        The primary view of the SliceXBlock, shown to students
        when viewing courses.
        """
self
context