discourse/app/assets/javascripts
Robin Ward a3f0543f99
Support for transpiling `.js` files (#9160)
* Remove some `.es6` from comments where it does not matter

* Use a post processor for transpilation

This will allow us to eventually use the directory structure to
transpile rather than the extension.

* FIX: Some errors and clean up in confirm-new-email

It would throw an error if the webauthn element wasn't present.
Also I changed things so that no-module is not explicitly
referenced.

* Remove `no-module`

Instead we allow a magic comment: `// discourse-skip-module` to prevent
the asset pipeline from creating a module.

* DEV: Enable babel transpilation based on directory

If it's in `app/assets/javascripts/dicourse` it will be transpiled
even without the `.es6` extension.

* REFACTOR: Remove Tilt/ES6ModuleTranspiler
2020-03-11 09:43:55 -04:00
..
admin DEV: enforces ember-template-lint: no-triple-curlies (#9165) 2020-03-11 09:23:10 +01:00
confirm-new-email Support for transpiling `.js` files (#9160) 2020-03-11 09:43:55 -04:00
discourse Support for transpiling `.js` files (#9160) 2020-03-11 09:43:55 -04:00
discourse-common DEV: enforces ember-template-lint: no-triple-curlies (#9165) 2020-03-11 09:23:10 +01:00
docs
ember-addons DEV: Deprecate `ember` module imports (#9011) 2020-02-21 15:56:49 +01:00
locales DEV: Import ember ENV instead of Ember.testing (#8305) 2019-11-07 11:20:35 -06:00
pretty-text FIX: Use full URL for secure attachments when secure media enabled (#9037) 2020-03-04 10:11:08 +11:00
select-kit DEV: enforces ember-template-lint: no-triple-curlies (#9165) 2020-03-11 09:23:10 +01:00
wizard DEV: enforces ember-template-lint: no-triple-curlies (#9165) 2020-03-11 09:23:10 +01:00
activate-account.js.es6 Support for transpiling `.js` files (#9160) 2020-03-11 09:43:55 -04:00
admin.js.erb
application.js REFACTOR: Remove `InputValidation` which was simply an `Ember.Object` 2019-11-11 15:48:56 -05:00
auto-redirect.js.es6 Support for transpiling `.js` files (#9160) 2020-03-11 09:43:55 -04:00
deprecated.js
discourse-loader.js DEV: Clean up Ember imports (#8979) 2020-03-06 23:49:28 +01:00
discourse-objects.js
discourse.js.es6 DEV: Clean up Ember imports (#8979) 2020-03-06 23:49:28 +01:00
embed-application.js.es6 Support for transpiling `.js` files (#9160) 2020-03-11 09:43:55 -04:00
ember-shim.js DEV: Deprecate `ember` module imports (#9011) 2020-02-21 15:56:49 +01:00
ember_include.js.erb
ember_jquery.js DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
env.js FIX: attempts to fix an error with EXTEND_PROTOTYPES (#7067) 2019-02-26 11:04:05 +01:00
google-tag-manager.js.es6 Support for transpiling `.js` files (#9160) 2020-03-11 09:43:55 -04:00
google-universal-analytics.js.es6 Support for transpiling `.js` files (#9160) 2020-03-11 09:43:55 -04:00
main_include_admin.js
markdown-it-bundle.js REFACTOR: Attach resize controls to images from the markdown pipeline (#8314) 2019-11-12 17:32:37 -03:00
onpopstate-handler.js.es6 Support for transpiling `.js` files (#9160) 2020-03-11 09:43:55 -04:00
polyfills.js FIX: moves back padStart/padEnd to core polyfills (#8714) 2020-01-14 10:54:39 +01:00
preload-application-data.js.es6 Support for transpiling `.js` files (#9160) 2020-03-11 09:43:55 -04:00
preload-store.js.es6 FIX: More `Promise` uses that were not imported 2019-11-19 15:58:40 -05:00
pretty-text-bundle.js DEV: Remove pretty_text import hack & still work server-side (#8266) 2019-10-31 11:54:46 -05:00
print-page.js CSP - extract all other inline JavaScripts (#6528) 2018-10-25 09:52:01 -04:00
service-worker.js.erb DEV: Bump uglifyjs (#7834) 2019-10-09 10:02:49 -03:00
set-prototype-polyfill.js DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
template_include.js DEV: Remove unsafe-eval from development CSP (#8569) 2019-12-30 12:17:12 +00:00
template_include.js.erb DEV: Remove unsafe-eval from development CSP (#8569) 2019-12-30 12:17:12 +00:00
vendor.js DEV: Remove unused BreakString class (#8942) 2020-02-14 15:32:59 -03:00
wizard-application.js DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
wizard-start.js.es6 Support for transpiling `.js` files (#9160) 2020-03-11 09:43:55 -04:00
wizard-vendor.js FIX: ensure s2 is working with wizard (#8886) 2020-02-07 10:00:39 +01:00