Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)