예제 #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)
예제 #2
0
파일: api.py 프로젝트: amcdunn/CloudMining
    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)
예제 #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)
예제 #4
0
파일: api.py 프로젝트: amcdunn/CloudMining
    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)