{"id":15413190,"url":"https://github.com/tomwayson/esri-require-js","last_synced_at":"2025-04-05T18:46:18.903Z","repository":{"id":14688984,"uuid":"17408703","full_name":"tomwayson/esri-require-js","owner":"tomwayson","description":"Example of how to load Esri AMD modules using RequireJS - DEPRECATED","archived":false,"fork":false,"pushed_at":"2016-07-06T21:21:41.000Z","size":98,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-11T16:23:59.814Z","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/tomwayson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-04T16:29:58.000Z","updated_at":"2016-07-25T07:46:02.000Z","dependencies_parsed_at":"2022-08-27T08:12:11.845Z","dependency_job_id":null,"html_url":"https://github.com/tomwayson/esri-require-js","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/tomwayson%2Fesri-require-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomwayson%2Fesri-require-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomwayson%2Fesri-require-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomwayson%2Fesri-require-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomwayson","download_url":"https://codeload.github.com/tomwayson/esri-require-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247385695,"owners_count":20930600,"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-01T16:55:59.315Z","updated_at":"2025-04-05T18:46:18.876Z","avatar_url":"https://github.com/tomwayson.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"=======\nesri-require-js\n===============\n\n[![deprecated](http://badges.github.io/stability-badges/dist/deprecated.svg)](http://github.com/badges/stability-badges)\n\n**DEPRECATED:**\n\nThe experimental techniques in this repo have been deprecated. Instead see the instructions for loading the bower release of ArcGIS API for JavaScript with RequireJS:\n- [RequireJS and ArcGIS API for JavaScript 3.x](https://github.com/Esri/jsapi-resources/tree/master/3.x/bower/requirejs/src)\n- [RequireJS and ArcGIS API for JavaScript 4.x](https://github.com/Esri/jsapi-resources/tree/master/4.x/bower/requirejs/src)\n\nThe purpose of this repository is to try and figure out if it makes sense to use RequireJS as a loader for an app that will reference modules from the ArcGIS API for JavaScript. \n\n**WARNING:** The instructions below describe a way to get RqquireJS to load modules from the Esri AMD build. However, just because it *can* be done, does not mean that it *should* be done. There are several known issues:\n- [It does not work w/ the latest version of RequireJS](https://github.com/tomwayson/esri-require-js/issues/1)\n- Loading modules from the AMD build can be very slow and is probably not suitable for production apps\n- In order to do a [custom build](https://github.com/robertd/esri-jsapi-rjs-example) you would have to download all the modules you intend to use from the Esri CDN\n- I've only tested loading a map w/ a basemap\n\nBeacause of these issues, I'm not actively pursuing this approach, but I'm leaving this repository open to anyone that has good ideas on how to resolve those issues.\n\n## Getting Started\n\nMake sure you have the latest packages installed\n\n```\nnpm install\nbower install\n```\n\nNote: If you don't have `npm` installed, make sure you have\n[node](http://nodejs.com) installed. If you don't have bower,\n`npm install -g bower`.\n\nThe above steps will download all the required software to\nbuild and run this app, such as [grunt](http://gruntjs.com),\n[requirejs](http://requirejs.org), and [jquery](http://jquery.com).\n\n## Running the server\n\nYou can run your app using `grunt preview`. This will start a\nserver on `localhost:8000`, meaning you can simply go to the\nurl [localhost:8000/index.htm](http://localhost:8000/index.htm)\nwhile it's running.\n\nIf you'd like to run the compiled version, run\n`grunt preview-live`.\n\n## Building the application\n\nTODO: see: https://github.com/robertd/esri-jsapi-rjs-example\n\n## Working with the scaffolded app\n\nThere's just enough to in place to get you going. Go ahead\nand make your changes to `index.htm`. You'll start your\njavascript work in `app/main.js` by requiring your first\nmodules. Past that, well, the world is your oyster.\n\n### Tests\n\nTODO:\n\n## Deploying your application on a server\n\nTODO:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomwayson%2Fesri-require-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomwayson%2Fesri-require-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomwayson%2Fesri-require-js/lists"}