コード例 #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)