{"id":15994281,"url":"https://github.com/pixelhandler/ember-cli-es5-shim","last_synced_at":"2025-03-18T01:30:50.529Z","repository":{"id":24848292,"uuid":"28263285","full_name":"pixelhandler/ember-cli-es5-shim","owner":"pixelhandler","description":"An Ember CLI addon to import the es5-shim (using a generator)","archived":false,"fork":false,"pushed_at":"2016-06-10T17:04:55.000Z","size":6,"stargazers_count":6,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-15T07:49:27.253Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pixelhandler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-20T09:53:03.000Z","updated_at":"2024-04-24T01:36:27.000Z","dependencies_parsed_at":"2022-07-24T02:46:17.172Z","dependency_job_id":null,"html_url":"https://github.com/pixelhandler/ember-cli-es5-shim","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelhandler%2Fember-cli-es5-shim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelhandler%2Fember-cli-es5-shim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelhandler%2Fember-cli-es5-shim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelhandler%2Fember-cli-es5-shim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pixelhandler","download_url":"https://codeload.github.com/pixelhandler/ember-cli-es5-shim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243784109,"owners_count":20347409,"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-08T07:08:06.149Z","updated_at":"2025-03-18T01:30:50.249Z","avatar_url":"https://github.com/pixelhandler.png","language":"JavaScript","readme":"# ember-cli-es5-shim\n\nThis Ember CLI addon imports the es5-shim for your for add/addon. \n\nES5 support for older browsers and phantomjs is added using a generator that\nadds the dependency for es5-shim to your bower.json file. And imports the\ndev/prod version of the es5-shim library into your vendor.js file.\n\n\n### Installation / Usage\n\nFrom within your Ember CLI application (must be \u003e= 0.0.41), run the following:\n\n```bash\nnpm install --save-dev ember-cli-es5-shim\nember generate ember-cli-es5-shim\nbower install\n```\n\nYou can now use ES5 syntax supported by the `es5-shim` library.\n\n\n### Notes on Phantomjs and Function.bind\n\nYou may choose to use `function () {}.bind` and expect that phantomjs won't\nerror out when you execute your test runner (phantomjs does not support\nFunction.bind out of the box.\n\nPerhaps try out Function.bind with phantomjs, create a test like so, and\nexecute it with `ember test`.\n\n```javascript\nmodule('Function.bind test in phantomjs');\n\ntest('Function.bind works', function() {\n  this.result = false;\n\n  (function() {\n    return this.result = true;\n  }.bind(this))();\n\n  ok(this.result);\n  delete this.result;\n});\n```\n\n### References\n\n* [es5-shim](https://github.com/es-shims/es5-shim/)\n* more information on using ember-cli, visit [http://www.ember-cli.com/](http://www.ember-cli.com/).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelhandler%2Fember-cli-es5-shim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixelhandler%2Fember-cli-es5-shim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelhandler%2Fember-cli-es5-shim/lists"}