Home | History | Annotate | Download | only in templates-sdk
      1 <?cs # generate metadata file for samples only ?><?cs
      2 if:samples_only ?>METADATA['<?cs var:metadata.lang ?>'].develop = METADATA['<?cs var:metadata.lang ?>'].develop.concat([
      3 <?cs var:reference_tree ?>
      4 ]);
      5 <?cs # generate standard unified metadata file ?><?cs
      6 else ?>window.METADATA = window.METADATA || {};
      7 METADATA['<?cs var:metadata.lang ?>'] = {};
      8 
      9 METADATA['<?cs var:metadata.lang ?>'].about = [];
     10 METADATA['<?cs var:metadata.lang ?>'].design = [];
     11 METADATA['<?cs var:metadata.lang ?>'].develop = [];
     12 METADATA['<?cs var:metadata.lang ?>'].distribute = [];
     13 METADATA['<?cs var:metadata.lang ?>'].extras = [];
     14 
     15 <?cs var:reference_tree ?>
     16 <?cs /if ?>