v1.0.0
Fix & Improve
- renaming
metatagFunc
tometatagArr
. - putting
SPAname
,SPAurl
,SPAtitle
variables frommetaTags
function insidejsonRead
function. - replacing the
metaTags
function with an array that will do the same job of this function. metaTags
function was made in pasts commits to make the programmer deal easier withjsonRead
by making the use of constant names toSPAname
,SPAurl
,SPAtitle
unnecessary, so he could replace theSPAname
key in JSON file with e.g.:SuperCat
, but he must passSuperCat
key in the passed array when callingjsonRead
like this:
jsonRead("spa.json",["SuperCat", "SPAurl", "SPAtitle"]);