示例#1
0
  def _prepare (self):
    namedict = dict (name = self._name)
    self.js = ''.join ([j % namedict for j in self.js])
    self.css = self.css % namedict

    return WebSnippet._prepare (self)
示例#2
0
    def _prepare(self):
        namedict = dict(name=self._name)
        self.js = ''.join([j % namedict for j in self.js])
        self.css = self.css % namedict

        return WebSnippet._prepare(self)
示例#3
0
 def _prepare (self):
   namedict = dict (name = self._name)
   self.js = ''.join ([j % namedict for j in self.js])
   self.css = self.css % dict (tab_color=self.tab_color, panel_color=self.panel_color)
   return WebSnippet._prepare (self)
示例#4
0
 def _prepare(self):
     namedict = dict(name=self._name)
     self.js = ''.join([j % namedict for j in self.js])
     self.css = self.css % dict(tab_color=self.tab_color,
                                panel_color=self.panel_color)
     return WebSnippet._prepare(self)