nav.js 692 B

123456789101112131415161718192021222324252627282930
  1. define([], function(){
  2. return {
  3. attrs : {
  4. /* The state attribute name */
  5. state : "data-state",
  6. id : "data-id",
  7. tocID : "data-tocid"
  8. },
  9. states : {
  10. /* The possible states */
  11. pending : "pending",
  12. notReady : "not-ready",
  13. collapsed : "collapsed",
  14. expanded : "expanded",
  15. leaf : "leaf"
  16. },
  17. btnIds : {
  18. expand : "button-expand-action",
  19. collapse : "button-collapse-action",
  20. pending : "button-pending-action"
  21. },
  22. jsonBaseDir : "nav-links/json"
  23. };
  24. });