systemjs/finders.py
def find(self, path, all=False):
        """
        Only allow lookups for jspm_packages.

        # TODO: figure out the 'jspm_packages' dir from packag.json.
        """
        bits = path.split('/')
        dirs_to_serve = ['jspm_packages', settings.SYSTEMJS_OUTPUT_DIR]
        if not bits or bits[0] not in dirs_to_serve:
            return []
        return super(SystemFinder, self).find(path, all=all)
def find(self, path, all=False):
        bits = path.split('/')
        dirs_to_serve = ['jspm_packages', settings.SYSTEMJS_OUTPUT_DIR]
        if not bits or bits[0] not in dirs_to_serve:
            return []
        return super(SystemFinder, self).find(path, all=all)
def find ( self , path , all = False ) : bits = path . split ( '/' ) dirs_to_serve = [ 'jspm_packages' , settings . SYSTEMJS_OUTPUT_DIR ] if not bits or bits [ 0 ] not in dirs_to_serve : return [ ] return super ( SystemFinder , self ) . find ( path , all = all )
Only allow lookups for jspm_packages.

        # TODO: figure out the 'jspm_packages' dir from packag.json.
Only allow lookups for jspm_packages .