Example #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)
Example #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)
Example #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)
Example #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)