support differently named lists.js files

Change-Id: Id564c916e891051f73e4c7d7a3683d58a48ee16d
This commit is contained in:
Robert Ly
2013-02-20 14:47:44 -08:00
parent 769a5d8698
commit a6043f76fa
2 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
var GCM_DATA = [
<?cs each:page = docs.pages
?> { id:<?cs var: page.id ?>, label:"<?cs var:page.label ?>", link:"<?cs var:page.link ?>", type:"<?cs var:page.type ?>" }<?cs if:!last(page) ?>,<?cs /if ?>
<?cs /each ?>
];

View File

@@ -0,0 +1,5 @@
var GMS_DATA = [
<?cs each:page = docs.pages
?> { id:<?cs var: page.id ?>, label:"<?cs var:page.label ?>", link:"<?cs var:page.link ?>", type:"<?cs var:page.type ?>" }<?cs if:!last(page) ?>,<?cs /if ?>
<?cs /each ?>
];