{"id":25687142,"url":"https://github.com/holyshared/mixin","last_synced_at":"2025-07-23T22:37:26.642Z","repository":{"id":136708189,"uuid":"1807769","full_name":"holyshared/Mixin","owner":"holyshared","description":"It builds in the class and crowding and a variety of Mixin classes are offered.","archived":false,"fork":false,"pushed_at":"2011-05-30T03:48:29.000Z","size":340,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-20T01:30:21.879Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://sharedhat.com","language":"JavaScript","has_issues":true,"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/holyshared.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-05-27T02:10:36.000Z","updated_at":"2013-10-31T05:15:25.000Z","dependencies_parsed_at":"2023-03-10T22:10:52.772Z","dependency_job_id":null,"html_url":"https://github.com/holyshared/Mixin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/holyshared/Mixin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holyshared%2FMixin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holyshared%2FMixin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holyshared%2FMixin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holyshared%2FMixin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/holyshared","download_url":"https://codeload.github.com/holyshared/Mixin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holyshared%2FMixin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266761417,"owners_count":23980296,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":"2025-02-24T20:08:13.733Z","updated_at":"2025-07-23T22:37:26.604Z","avatar_url":"https://github.com/holyshared.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Mixin\n===========================================\n\nIt builds in the class and crowding and a variety of Mixin classes are offered.  \nIt is possible to use it only by building it in the class.\n\n![Mixin](http://holyshared.github.com/Mixin/logo.png \"Mixin\")\n\nHow to use\n-------------------------------------------\n\n### Class.Attachment\n\n#### Definition of class\n\nThe Attachment class is built in with Implements. \nAnd, attachEvent and attachHandler are defined.\n\n\tvar Mock = new Class({\n\n\t\tImplements: [Attachment],\n\n\t\t//Generated event type.\n\t\tattachEvent: 'click',\n\n\t\t//Attached event.\n\t\tattachHandler: function(event){\n\t\t\t//do something\n\t\t}\n\n\t});\n\n#### Attachment to event\n\nThe event is attached to the corresponding element by the use of the attach method.  \nThe dettach method is used to release the event. \n\n\tvar mock = Mock();\n\tmock.attach('ul li a');\n\n\tmock.attach(dettach);\n\n\nOption of build\n-------------------------------------------\n\nMixin/* +use-only Mixin\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholyshared%2Fmixin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fholyshared%2Fmixin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholyshared%2Fmixin/lists"}