Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2014
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. `
  2.  
  3. // Script-as-app template.
  4. function doGet() {
  5. var app = UiApp.createApplication().setTitle('Business Card Mini Gallery | MAvC Graphics.').setHeight(50).setWidth(100)
  6. return HtmlService.createTemplateFromFile('minigallery')
  7. .evaluate();
  8. }
  9.  
  10. function include(customcss) {
  11. return HtmlService.createHtmlOutputFromFile(customcss)
  12. .getContent();
  13. }
  14. function include(layoutcss) {
  15. return HtmlService.createHtmlOutputFromFile(layoutcss)
  16. .getContent();
  17. }
  18. function include(minigallerycss) {
  19. return HtmlService.createHtmlOutputFromFile(minigallerycss)
  20. .getContent();
  21. }
  22. function include(eyesjs) {
  23. return HtmlService.createHtmlOutputFromFile(eyesjs)
  24. .getContent();
  25. }
  26. function include(jqueryjs) {
  27. return HtmlService.createHtmlOutputFromFile(jqueryjs)
  28. .getContent();
  29. }
  30. function include(layoutjs) {
  31. return HtmlService.createHtmlOutputFromFile(layoutjs)
  32. .getContent();
  33. }
  34. function include(utilsjs) {
  35. return HtmlService.createHtmlOutputFromFile(utilsjs)
  36. .getContent();
  37. }
  38. function include(minigalleryjs) {
  39. return HtmlService.createHtmlOutputFromFile(minigalleryjs)
  40. .getContent();
  41. }
  42.  
  43. <?!= include('customcss'), ('layoutcss'), ('minigallerycss'); ?>
  44.  
  45. ...//lengthy inner page code
  46.  
  47. <?!= include('eyesjs'), ('jqueryjs'), ('layoutjs'), ('minigalleryjs'), ('utilsjs'); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement