{"id":15331326,"url":"https://github.com/flimzy/onload","last_synced_at":"2025-04-14T23:35:43.384Z","repository":{"id":57524804,"uuid":"63098413","full_name":"flimzy/onload","owner":"flimzy","description":"Onload handler for GopherJS without the bloat of jQuery","archived":false,"fork":false,"pushed_at":"2017-01-11T21:53:53.000Z","size":2,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T09:30:59.724Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/flimzy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-11T20:06:22.000Z","updated_at":"2022-03-12T18:56:20.000Z","dependencies_parsed_at":"2022-08-26T03:31:17.747Z","dependency_job_id":null,"html_url":"https://github.com/flimzy/onload","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/flimzy%2Fonload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flimzy%2Fonload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flimzy%2Fonload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flimzy%2Fonload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flimzy","download_url":"https://codeload.github.com/flimzy/onload/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248980612,"owners_count":21193135,"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-10-01T09:55:16.352Z","updated_at":"2025-04-14T23:35:43.368Z","avatar_url":"https://github.com/flimzy.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GoDoc](https://godoc.org/github.com/flimzy/onload?status.png)](http://godoc.org/github.com/flimzy/onload)\n\n**onload** is a very simple module, designed to provide cross-browser, jQuery-like onload\nfunctionality without the bloat of jQuery.  It is writen entirely in Go.  To use it:\n\n    package main\n    \n    import (\n        \"fmt\"\n        \"github.com/flimzy/onload\"\n    )\n    \n    func main() {\n        onload.Ready( func() {\n            fmt.Print(\"The document is ready!\\n\")\n        })\n    }\n\nThis code is based on [this StackOverflow answer](http://stackoverflow.com/a/9899701/13860),\nbut somewhat simplified, and of course adapted to Go.\n\nThis software is released under the terms of the MIT license.  See LICENSE.txt for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflimzy%2Fonload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflimzy%2Fonload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflimzy%2Fonload/lists"}