def add_javascripts(self, *path): """Add javascripts to your app. The path must be prepended by the path to your public directory ie app.add_stylesheets('/public/js/defaults.js'). """ utils.add_uniq(self.javascripts, path)
def add_stylesheets(self, *path): """Add stylesheets to your app. The path must be prepended by the path to your public directory ie app.add_stylesheets('/public/custom.css'). """ utils.add_uniq(self.stylesheets, path)