def _get_js_and_css_assets(self, with_reset=False):
        # Create assets from our extra model classes
        if self._extra_model_classes:
            css, js = create_css_and_js_from_model_classes(self._extra_model_classes)
            self.add_asset('index-extra-model-classes.css', css.encode())
            self.add_asset('index-extra-model-classes.js', js.encode())
        self._extra_model_classes = None  # make sure we wont append to it anymore :)
        # Mark that any new assets dont make it into the currently served page
        self._served = True
        # Collect assets
        d = OrderedDict()
        if with_reset:
            fname = 'reset.css'
            d[fname] = self._store.load_asset(fname).decode()
        for fname in self.get_used_asset_names():
            if fname.endswith('.js') or fname.endswith('.css'):
                d[fname] = self._store.load_asset(fname).decode()
        return d
addWidget(packagePath: str) -> package
dataset/ETHPy150Open zoofIO/flexx/flexx/app/assetstore.py/SessionAssets._get_js_and_css_assets--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/vistrails/packages/spreadsheet/init.py/addWidget