Guest User

Untitled

a guest
Jul 22nd, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. var g = require('../garcon/lib/garçon'),
  2. server = new g.Server({ port: 8010, proxyHost: 'localhost', proxyPort: 8080});
  3.  
  4. myApp = server.addApp({
  5. name: 'listtest',
  6. theme: 'standard_theme'
  7. //theme: 'ace',
  8. //buildLanguage: 'french'
  9. });
  10.  
  11. myApp.addSproutcore();
  12.  
  13. myApp.addFrameworks(
  14. // { path: 'frameworks/calendar' },
  15. // { path: 'themes/my_theme' },
  16. //{ path: 'frameworks/sproutcore/themes/ace'},
  17. { path: 'frameworks/sproutcore/themes/empty_theme'},
  18. { path: 'frameworks/sproutcore/themes/standard_theme'},
  19. { path: 'apps/listtest'}
  20. );
  21.  
  22. myApp.htmlHead = '<title>List Test App</title>';
  23.  
  24. myApp.htmlBody = [
  25. '<div id="loading">',
  26. '<p id="loading">',
  27. 'Loading…',
  28. '</p>',
  29. '</div>'
  30. ].join('\n');
  31.  
  32. myApp.build();
  33.  
  34. server.run();
Add Comment
Please, Sign In to add comment