{"id":16370784,"url":"https://github.com/integralist/xhrl","last_synced_at":"2026-03-08T22:30:16.287Z","repository":{"id":140162524,"uuid":"1447393","full_name":"Integralist/XHRl","owner":"Integralist","description":"AJAX based Script Loader","archived":false,"fork":false,"pushed_at":"2012-07-01T14:27:25.000Z","size":1326,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-31T13:43:17.984Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/Integralist.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-03-06T20:01:49.000Z","updated_at":"2020-07-31T08:14:54.000Z","dependencies_parsed_at":"2023-03-13T10:44:18.285Z","dependency_job_id":null,"html_url":"https://github.com/Integralist/XHRl","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/Integralist%2FXHRl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integralist%2FXHRl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integralist%2FXHRl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integralist%2FXHRl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Integralist","download_url":"https://codeload.github.com/Integralist/XHRl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239906692,"owners_count":19716581,"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-11T03:05:58.635Z","updated_at":"2026-03-08T22:30:16.203Z","avatar_url":"https://github.com/Integralist.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"XHRl\n====\n\nDescription\n-----------\n\nAJAX based Script Loader (Uses basic Promises implementation).\n\nReasons for building 'yet another' dynamic script loader:\n\n* I wanted to learn how to write one myself\n* I wanted a script loader that actually informed the developer of errors! (aka jQuery which cryptically hides errors)\n* I wanted to avoid typical browser sniffs used to keep execution order (e.g. LABjs)\n* I wanted to avoid using hacks ([such as...](http://www.phpied.com/preload-then-execute/)) - used in a few script loaders.\n\nDisclaimer\n----------\n\nI wrote this script not to compete with any of the existing script loaders, but to learn something new by the virtue of trying to build one for myself.\n\nLimitations\n-----------\n\nOne limitation of this script loader is that because it relies on `XMLHttpRequest` all scripts loaded must be hosted on your own domain (i.e. you can't call jQuery from the Google CDN). Now for my use cases this isn't a problem, but for some people this may be a big deal. Take it or leave it.\n\nOther Script Loaders\n--------------------\n\nHere's a list of other script loaders I've looked at...\n\n* [LABjs](https://github.com/getify/LABjs)\n* [YepNope.js](https://github.com/SlexAxton/yepnope.js)\n* [RequireJs](https://github.com/jrburke/requirejs)\n* [HeadJs](https://github.com/headjs/headjs)\n* [ControlJs](http://stevesouders.com/controljs/)\n* [Steal](https://github.com/jupiterjs/steal) (part of JMVC library)\n* [loadrunner](https://github.com/danwrong/loadrunner/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintegralist%2Fxhrl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintegralist%2Fxhrl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintegralist%2Fxhrl/lists"}