{"id":19973814,"url":"https://github.com/dojo/demos","last_synced_at":"2025-08-30T02:07:33.825Z","repository":{"id":8540485,"uuid":"10160545","full_name":"dojo/demos","owner":"dojo","description":"Dojo 1 - toolkit demos. Please submit bugs to https://bugs.dojotoolkit.org/","archived":false,"fork":false,"pushed_at":"2022-08-13T13:36:07.000Z","size":31000,"stargazers_count":75,"open_issues_count":0,"forks_count":119,"subscribers_count":49,"default_branch":"master","last_synced_at":"2025-05-04T02:39:04.012Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dojotoolkit.org/","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dojo.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-19T19:51:29.000Z","updated_at":"2024-07-06T13:58:20.000Z","dependencies_parsed_at":"2022-09-13T22:21:53.223Z","dependency_job_id":null,"html_url":"https://github.com/dojo/demos","commit_stats":null,"previous_names":[],"tags_count":261,"template":false,"template_full_name":null,"purl":"pkg:github/dojo/demos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dojo%2Fdemos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dojo%2Fdemos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dojo%2Fdemos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dojo%2Fdemos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dojo","download_url":"https://codeload.github.com/dojo/demos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dojo%2Fdemos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272793018,"owners_count":24993830,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T03:13:00.831Z","updated_at":"2025-08-30T02:07:33.788Z","avatar_url":"https://github.com/dojo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"-------------------------------------------------------------------------------\nDojo Demos - used on demos.dojotoolkit.org\n-------------------------------------------------------------------------------\nProject state: varies.\n-------------------------------------------------------------------------------\nProject description\n\n\tDemos which show off all of Dojo, potentially including a server-side\n\tcomponent. Each demo resides in a sub-directory. Demos should not depend on\n\tother demos for code, but may depend on things in the top-level resources\n\tdirectory or in dojo, dijit, dojox, and util namespaces.\n\t\n\tThese demos are not included in releases, and unlike tests inside of Dijit,\n\tthey may depend on DojoX components or not be fully accessible, etc.\n\n\tAdditionally, icons, images, and other resources not licensable for use in\n\tthe mainline toolkit may be included in the demos/ directory so long as\n\ttheir license status is noted in demo-specific LICENSE files.\n\n\tServer-side components are recommended to be written in PHP 5 and may use\n\tthe Zend Framework should a MVC framework be required for a particular\n\tdemo.\n\n-------------------------------------------------------------------------------\nDependencies:\n\n\tDojo Core\n\tDijit\n\tDojoX\n\n-------------------------------------------------------------------------------\nSubmission Instructions\n\n\tAll these demos follow a simple pattern. Each demo has a \"name\", which \n\tis the name of the folder it lives in. eg:\n\t\n\tdemos/myDemo/\n\t\n\tThe root demo filename is to be named `demo.html`. It should include a \n\t\u003cscript\u003e tag pointing to ../../dojo/dojo.js, and a src.js \"layer\" as a \n\tsibling to `demo.html` .Styles should be external and located\n\tin a file `demo.css`. A README file (similar to this document) should\n\talso be present.\n\t\n\tThe most basic of demos should look like:\n\n\tdemos/myDemo/\n\t\t\tdemo.html\n\t\t\tdemo.css\n\t\t\tsrc.js\n\t\t\t\n\tIf multiple modules are needed, they should appear in a /src/ folder, making\n\tsrc.js a rollup, only requiring other modules. \n\t\n\tdemos/myDemo/\n\t\t\tsrc.js\n\t\t\tsrc/\n\t\t\t\tModule.js\n\t\n\tProper dojo.provide calls for the src.js and Module.js files should be issued:\n\tdojo.provide(\"demos.myDemo.src.Module\");\n\t\nAbout the README\n\t\n\tThe README format is a slightly-fragile custom format, which follows the \n\tsame design as this one. The second and last lines are parsed off for meta\n\tinformation.\n\t\n\tLine 2 should be a hyphen separated description:\n\t\n\t1. --------------------------------------------------\n\t2. Short Title - Longer Description about the purpose\n\t3. --------------------------------------------------\n\t\n\tThe last line should be made up of @tag:value pairs. These tags can be \n\tarbitrary, and some go unused (though may be implemented at a later\n\tdate). The most important tag is @rank, providing a way to weight \n\tthe demo in the index at http://demos.dojotoolkit.org\n\t\n\t@rank:-999 will mark the demo as experimental, and not complete.\n\t@rank:15 will give a +15 ranking to the demo, adjusting the index. The \n\t\thigher the value, the higher in the list it will appear.\n\t\t\nAdditional Resources\n\n\tThe thumbnail that appears in the demo index can be placed in:\n\t\n\tdemos/resources/images/myDemo.png\n\t\n\tProviding a 128x128 png icon bumps the rank value slightly. \n\nBuilding the Demos\n\n\tEach demo should add itself to the profiles/ folder in the util \n\trepository:\n\t\n\tutil/buildscripts/profiles/demos-all.profile.js\n\t\n\tEach demo should create a layer making src.js the layer target, \n\tdependent on demos.myDemo.src. This way, each demo has 100% of \n\tthe require resources available in the rollup layer and requires\n\tno work to shift between built and unbuilt states. \n\t\n\tCreate the tree by running a build:\n\t\n\t./build.sh action=release profile=demos-all cssOptimize=comments.keepLines version=1.x.x\n\t\n-------------------------------------------------------------------------------\n@rank:-999","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdojo%2Fdemos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdojo%2Fdemos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdojo%2Fdemos/lists"}