Skip to content
This repository has been archived by the owner on Jul 27, 2018. It is now read-only.

Commit

Permalink
Added some changed to sections in docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
VJCNIC001 committed Feb 5, 2016
1 parent 6723b4b commit 0595d9d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Binary file added docs/sphinxcontrib/__init__.pyc
Binary file not shown.
Binary file added docs/sphinxcontrib/autojs.pyc
Binary file not shown.
8 changes: 8 additions & 0 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,8 @@ go.app = function() {

/**:function: getProvinceData(section_id, section_name)
Lists the provincial codes and names. Calls the getHttp function and returns a
promise of data for the catagory selected for all provinces queried.
*/

function getProvinceData(section_id, section_name) {
Expand All @@ -537,7 +539,13 @@ go.app = function() {
//functions for fetching specific section data

/**:function: provincial_section(data, section_id, section_name)
Returns a subsection of data received from the json query for the relevant province.
We need to navigate through the json query to access specific results.::
eg. sub_section.demographics = function(data) {
return "Population: " + data.total_population.values.this;
}
*/

function provincial_section(data, section_id, section_name) {
Expand Down

0 comments on commit 0595d9d

Please sign in to comment.