Title: Support es6 modules · Issue #74 · Pixabay/JavaScript-autoComplete · GitHub
Open Graph Title: Support es6 modules · Issue #74 · Pixabay/JavaScript-autoComplete
X Title: Support es6 modules · Issue #74 · Pixabay/JavaScript-autoComplete
Description: const autoComplete = require('javascript-autocomplete') works nicely. It would be nice to use newer syntax, something like import { autoComplete } from 'javascript-autocomplete'. A hackish solution would be something like this. module.js...
Open Graph Description: const autoComplete = require('javascript-autocomplete') works nicely. It would be nice to use newer syntax, something like import { autoComplete } from 'javascript-autocomplete'. A hackish solution...
X Description: const autoComplete = require('javascript-autocomplete') works nicely. It would be nice to use newer syntax, something like import { autoComplete } from 'javascript-autocomplete'. A ...
Opengraph URL: https://github.com/Pixabay/JavaScript-autoComplete/issues/74
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support es6 modules","articleBody":"`const autoComplete = require('javascript-autocomplete')` works nicely.\r\n\r\nIt would be nice to use newer syntax, something like `import { autoComplete } from 'javascript-autocomplete'`.\r\n\r\nA hackish solution would be something like this. \r\n\r\nmodule.js:\r\n```\r\nconst autoComplete = require('auto-complete');\r\nexport default autoComplete;\r\n```\r\n\r\nmy-app.js:\r\n```\r\nimport { autoComplete } from 'javascript-autocomplete/module'\r\n```\r\n\r\nI'm not sure the impact of that setup on bundlers like webpack. But seems like it should be at least functional.","author":{"url":"https://github.com/crenshaw-dev","@type":"Person","name":"crenshaw-dev"},"datePublished":"2018-06-26T15:41:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/74/JavaScript-autoComplete/issues/74"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fad7a692-29f3-e3c9-d3ac-e65318745e02 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 99FA:2874A:3CAA4:53041:698E14FF |
| html-safe-nonce | 4f31938c5967a70795c885437984933048dac2ea6f75bf52a58a4e47fc0cb4a9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUZBOjI4NzRBOjNDQUE0OjUzMDQxOjY5OEUxNEZGIiwidmlzaXRvcl9pZCI6IjY4ODU4MjY4NDA3MTMxMDY2ODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 160a5fa0642160b31585dac6b02f2076ef8af7e630182eee73d83a3f9a93dcd9 |
| hovercard-subject-tag | issue:335879966 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Pixabay/JavaScript-autoComplete/74/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3fa0bc613c6f36943b49c2a4280aa92eaf2cebaf25d93b28e3aa13e586f29173/Pixabay/JavaScript-autoComplete/issues/74 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3fa0bc613c6f36943b49c2a4280aa92eaf2cebaf25d93b28e3aa13e586f29173/Pixabay/JavaScript-autoComplete/issues/74 |
| og:image:alt | const autoComplete = require('javascript-autocomplete') works nicely. It would be nice to use newer syntax, something like import { autoComplete } from 'javascript-autocomplete'. A hackish solution... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | crenshaw-dev |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdf74c91c9ac187cc5cd7b14d4af2d6ef3e18136d002f5d36253f8538e97ee4c |
| turbo-cache-control | no-preview |
| go-import | github.com/Pixabay/JavaScript-autoComplete git https://github.com/Pixabay/JavaScript-autoComplete.git |
| octolytics-dimension-user_id | 7993082 |
| octolytics-dimension-user_login | Pixabay |
| octolytics-dimension-repository_id | 34940608 |
| octolytics-dimension-repository_nwo | Pixabay/JavaScript-autoComplete |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 34940608 |
| octolytics-dimension-repository_network_root_nwo | Pixabay/JavaScript-autoComplete |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1a5a3e7bbfb3486980e340c242368684156fba87 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width