{"id":25411432,"url":"https://github.com/ishafayet/legacy-copolymer","last_synced_at":"2025-04-14T08:28:18.958Z","repository":{"id":25816508,"uuid":"29255630","full_name":"iShafayet/legacy-copolymer","owner":"iShafayet","description":"A declarative language that transpiles to HTML5 and CoffeeScript. Purpose made to work with Google's Polymer 0.x.","archived":false,"fork":false,"pushed_at":"2021-01-01T19:02:39.000Z","size":18,"stargazers_count":2,"open_issues_count":8,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-16T10:19:11.371Z","etag":null,"topics":["coffee-script","declarative-language","html5","polymer","polymer-element"],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iShafayet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-14T17:11:51.000Z","updated_at":"2023-06-22T09:33:32.000Z","dependencies_parsed_at":"2022-07-25T15:02:18.985Z","dependency_job_id":null,"html_url":"https://github.com/iShafayet/legacy-copolymer","commit_stats":null,"previous_names":["ishafayet/copolymer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iShafayet%2Flegacy-copolymer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iShafayet%2Flegacy-copolymer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iShafayet%2Flegacy-copolymer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iShafayet%2Flegacy-copolymer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iShafayet","download_url":"https://codeload.github.com/iShafayet/legacy-copolymer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248845221,"owners_count":21170724,"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","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":["coffee-script","declarative-language","html5","polymer","polymer-element"],"created_at":"2025-02-16T10:17:47.789Z","updated_at":"2025-04-14T08:28:18.932Z","avatar_url":"https://github.com/iShafayet.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Copolymer\nA declarative language that transpiles to HTML5 and CoffeeScript. Purpose made to work with [Google's Polymer 0.x](https://www.polymer-project.org/). However, the Polymer project has shifted direction a lot from the original and so, this project is no longer active.\n\n\n## Quick example\n```coffee\nimport \"../polymer/polymer.html\"\nimport \"../polymer/paper-checkbox\"\nimport \"../polymer/paper-button\"\nimport \"../polymer/paper-input\"\n\ndefine todo-app todoList=\"[]\"\n\n  h1 | Todo App\n  \n  div$todoList vertical layout\n    for todo, index in todoList\n      div.todoEntry horizontal layout\n        paper-checkbox checked=\"{{todo.isDone}}\"\n        div | {{todo.text}}\n        paper-button %index=\"{{index}}\" *click=\"deleteClicked\" label=\"Delete\"\n        \n  div horizontal layout\n    paper-input label=\"Type new entry here\" value=\"{{newEntryText}}\"\n    paper-button *click=\"addClicked\" label=\"Add\"\n    \nscript type=\"text/coffeescript\" `\n  Copolymer todo-app, {\n    deleteClicked: (e)-\u003e\n      @todoList.splice (parseInt (e.target.getAttribute 'data-index'), 10), 1\n      \n    addClicked: (e)-\u003e\n      @todoList.push {isDone: false, text: @newEntryText}\n  }\n`\n```\n\n## Notes\n\nIt was written on the now almost-retired language [CoffeeScript](https://coffeescript.org/). You will need the CoffeeScript compiler to run the code.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishafayet%2Flegacy-copolymer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fishafayet%2Flegacy-copolymer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishafayet%2Flegacy-copolymer/lists"}