Layout.getStaticPath (subdir)
return the path to the static directory of this layout object

  • Parameter String:
    name of subdirectory (optional)
  • Returns
    String path to static directory
Sourcecode in Layout/objectFunctions.js:
1:   function getStaticPath(subdir) {
2:      res.push();
3:      this.staticPath(subdir);
4:      return res.pop();
5:   }