{"name":"dvd-collection","master":true,"version":"1.0.3","description":"Create a DVD collection manager\n\nThis system shows a list of DVD.\n\nnote: if you create a DVD Component when running the application, the list will be automatically updated","schemas":{"18fbd140fc13f83":{"_id":"18fbd140fc13f83","_name":"CSS","_inherit":["_Component"],"source":"property","render":"method"},"1f4371ea2a1f263":{"_id":"1f4371ea2a1f263","_name":"JS","_inherit":["_Component"],"source":"property","render":"method"},"1d77b122da11fd3":{"_id":"1d77b122da11fd3","_name":"HTML","_inherit":["_Component"],"source":"property","render":"method"},"13a48150fa11d98":{"_id":"13a48150fa11d98","_name":"List","_inherit":["_Component"],"model":"property","render":"method"},"1f9b61e9da1651c":{"_id":"1f9b61e9da1651c","_name":"DVD","_inherit":["_Component"],"title":"property","type":"property","director":"link"},"123cc1c82c1c320":{"_id":"123cc1c82c1c320","_name":"Director","_inherit":["_Component"],"firstName":"property","lastName":"property","fullName":"method"}},"models":{"1d3741fe4e17da2":{"_id":"1d3741fe4e17da2","_name":"Director","firstName":{"type":"string","readOnly":false,"mandatory":false,"default":""},"lastName":{"type":"string","readOnly":false,"mandatory":false,"default":""},"fullName":{"result":"string"}},"175a418c6a1d85b":{"_id":"175a418c6a1d85b","_name":"DVD","title":{"type":"string","readOnly":false,"mandatory":false,"default":""},"type":{"type":"category","readOnly":false,"mandatory":false,"default":"action"},"director":{"type":"Director","readOnly":false,"mandatory":false,"default":""}},"1c63e161f71cf4a":{"_id":"1c63e161f71cf4a","_name":"CSS","source":{"type":"css","readOnly":false,"mandatory":false,"default":""},"render":{}},"155a8100d518f95":{"_id":"155a8100d518f95","_name":"JS","source":{"type":"javascript","readOnly":false,"mandatory":false,"default":""},"render":{}},"1afbe1c5f81272e":{"_id":"1afbe1c5f81272e","_name":"HTML","source":{"type":"html","readOnly":false,"mandatory":false,"default":""},"render":{}},"140eb10aae166de":{"_id":"140eb10aae166de","_name":"List","model":{"type":"string","readOnly":false,"mandatory":false,"default":""},"render":{}}},"behaviors":{"1f59c1798a1d79b":{"_id":"1f59c1798a1d79b","component":"1aa641bbf11edea","state":"start","action":"function start() {\n // HTML\n this.require('template').render();\n \n // CSS\n this.require('bootstrap.min.css').render();\n this.require('starter-template.css').render();\n \n // JS\n this.require('jquery.min.js').render();\n this.require('bootstrap.min.js').render();\n \n // List\n this.require('list').render();\n}","useCoreAPI":false,"core":false},"1b7ad1924c1f013":{"_id":"1b7ad1924c1f013","component":"CSS","state":"render","action":"function render() {\n var div = document.createElement('style');\n div.innerHTML = this.source();\n document.head.appendChild(div);\n}","useCoreAPI":false,"core":false},"123d91f673195a8":{"_id":"123d91f673195a8","component":"JS","state":"render","action":"function render() {\n var div = document.createElement('script');\n div.innerHTML = this.source();\n document.head.appendChild(div);\n}","useCoreAPI":false,"core":false},"14528108a816308":{"_id":"14528108a816308","component":"HTML","state":"render","action":"function render() {\n var div = document.createElement('div');\n div.innerHTML = this.source();\n document.body.appendChild(div);\n}","useCoreAPI":false,"core":false},"12014107a41ef45":{"_id":"12014107a41ef45","component":"Director","state":"fullName","action":"function fullName() {\n\tvar result = this.firstName() + ' ' + this.lastName();\n\treturn result;\n}","useCoreAPI":false,"core":false},"1cda417d141fe86":{"_id":"1cda417d141fe86","component":"List","state":"render","action":"function render() {\n var model = this.model(),\n query = this.require('db').collections()[model].find({}),\n props = ['title', 'type'],\n links = ['director'],\n html = '
';\n }\n }\n html = html + ' |