Esempio n. 1
0
    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)
Esempio n. 2
0
    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)
Esempio n. 3
0
    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)
Esempio n. 4
0
    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)