task

PAGE - module/races

[WHAT]

  1. [ def ] this is the "express module" for the "races" object in the PASS app (node).
    1. ]
  2. [ args ] race

[WHY]

  1. ] reuse the "races" code across all pages
  2. ] race properties
    1. ] raceName: "Coca Cola 600" 
    2. ] raceID: '2015-12'
    3. ] ...
  3. ] has a races collection[]
  4. ] returns a race object
  5. ]

[WHERE called from]

  1. ] routes/home.js (aka index) - ] requires statement, ] initiate var currentRace = races(), ] pass into view template
  2. ] layout.jade = uses the passed in 'race' properties, example ] race.currentRaceName, ] race.id,

[WHEN]

  1. [2015-06-15] v-005-002
    1. ] # # - initial testing

[EXAMPLE]

  1. ] get(index) - returns a race object with the given index
  2. ] set

[HOW-TO]

  1. ]

[REFERENCE]

  1. [2015-06-15] results -v-001
    1. ] # 5287 - replacing the in page 'races' code, with a seperate races module

 


developer implementation

[process]

  1.  

[notes]

  1.  

[by_date]

  1. [YYYY-mm-DD]

status

[previously]

  1. [2015-06-14] NEW task IN
    1. x] # # -
  2. [2015-06-14] NEW task
    1. ] # # - x]

[currently]

[next]

  1. ]
Details Photos Edit more

Details

ID: 5293

NAME: PAGE-module-races

DESCRIPTION: ####] - module - races - access races data across all pages

START DATE TIME: 2015-06-15 11:39:00

EST DURATION: 01:00:00

END DATE TIME: 2015-06-15 12:39:00

STATUS: In-Process

PRIORITY: -5

OWNER ID: 75

Content Photos Edit more

photos

photos for this task

actions

Agenda Email task SMS task Priorities