{"id":21444864,"url":"https://github.com/ArcBees/gwt-theo","last_synced_at":"2025-07-14T18:31:51.081Z","repository":{"id":30791734,"uuid":"34348734","full_name":"ArcBees/gwt-theo","owner":"ArcBees","description":"GWT Theo","archived":false,"fork":false,"pushed_at":"2015-08-11T03:46:16.000Z","size":3220,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-04-16T10:30:20.151Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ArcBees.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":"2015-04-21T19:49:19.000Z","updated_at":"2023-07-06T13:59:47.000Z","dependencies_parsed_at":"2022-09-08T17:00:44.586Z","dependency_job_id":null,"html_url":"https://github.com/ArcBees/gwt-theo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcBees%2Fgwt-theo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcBees%2Fgwt-theo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcBees%2Fgwt-theo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcBees%2Fgwt-theo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArcBees","download_url":"https://codeload.github.com/ArcBees/gwt-theo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225991816,"owners_count":17556366,"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":[],"created_at":"2024-11-23T02:22:07.379Z","updated_at":"2025-07-14T18:31:51.071Z","avatar_url":"https://github.com/ArcBees.png","language":"JavaScript","funding_links":[],"categories":["UI Framework"],"sub_categories":[],"readme":"A dead simple way to do inheritance in JS.\n\n    var inherits = require(\"inherits\")\n\n    function Animal () {\n      this.alive = true\n    }\n    Animal.prototype.say = function (what) {\n      console.log(what)\n    }\n\n    inherits(Dog, Animal)\n    function Dog () {\n      Dog.super.apply(this)\n    }\n    Dog.prototype.sniff = function () {\n      this.say(\"sniff sniff\")\n    }\n    Dog.prototype.bark = function () {\n      this.say(\"woof woof\")\n    }\n\n    inherits(Chihuahua, Dog)\n    function Chihuahua () {\n      Chihuahua.super.apply(this)\n    }\n    Chihuahua.prototype.bark = function () {\n      this.say(\"yip yip\")\n    }\n\n    // also works\n    function Cat () {\n      Cat.super.apply(this)\n    }\n    Cat.prototype.hiss = function () {\n      this.say(\"CHSKKSS!!\")\n    }\n    inherits(Cat, Animal, {\n      meow: function () { this.say(\"miao miao\") }\n    })\n    Cat.prototype.purr = function () {\n      this.say(\"purr purr\")\n    }\n\n\n    var c = new Chihuahua\n    assert(c instanceof Chihuahua)\n    assert(c instanceof Dog)\n    assert(c instanceof Animal)\n\nThe actual function is laughably small.  10-lines small.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FArcBees%2Fgwt-theo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FArcBees%2Fgwt-theo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FArcBees%2Fgwt-theo/lists"}