systemjs/base.py
def needs_ext(self):
        """
        Check whether `self.app` is missing the '.js' extension and if it needs it.
        """
        if settings.SYSTEMJS_DEFAULT_JS_EXTENSIONS:
            name, ext = posixpath.splitext(self.app)
            if not ext:
                return True
        return False
def needs_ext(self):
        if settings.SYSTEMJS_DEFAULT_JS_EXTENSIONS:
            name, ext = posixpath.splitext(self.app)
            if not ext:
                return True
        return False
def needs_ext ( self ) : if settings . SYSTEMJS_DEFAULT_JS_EXTENSIONS : name , ext = posixpath . splitext ( self . app ) if not ext : return True return False
Check whether `self.app` is missing the '.js' extension and if it needs it.
Check whether self . app is missing the . js extension and if it needs it .