This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts
Sam 0ca61242b8 FEATURE: polyfill intersection observer for IE11 / iOS Safari
This feature is used for defer loading of images and in future for post cloaking

This gives us a polyfill so we can safely use the feature in problem browsers

The polyfill supports "polling" but it does not appear we need it yet.

If we discover anything odd here, consider setting poll interval per:

https://github.com/w3c/IntersectionObserver/tree/master/polyfill

```
var io = new IntersectionObserver(callback);
io.POLL_INTERVAL = 100; // Time in milliseconds.
```

Keeping the mutation observer cause we often mutate the DOM
2018-12-12 15:36:08 +11:00
..
admin UX: Wrap pre element. 2018-12-05 21:56:18 +01:00
discourse FEATURE: Lazily Load Images as they scroll into the viewport. 2018-12-12 10:12:49 +11:00
discourse-common FEATURE: Improved deprecation warnings (#6722) 2018-12-06 11:38:01 +00:00
docs Ember Upgrade: 1.0 2013-10-01 11:16:27 -04:00
ember-addons DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
locales FEATURE: Add Lithuanian locale 2018-09-27 05:26:38 +02:00
pretty-text DEV: Apply code review. 2018-12-05 21:58:55 +01:00
select-kit FIX: category-drop initial state was incorrect (#6743) 2018-12-10 14:05:00 +01:00
wizard FIX: s/save/finish for wizard exit early button (#6614) 2018-11-15 21:26:26 +01:00
activate-account.js.no-module.es6 CSP - extract all other inline JavaScripts (#6528) 2018-10-25 09:52:01 -04:00
admin.js.erb Add support for plugins to declare ES6 in the admin bundle 2015-08-17 15:03:55 -04:00
application.js Replace deprecated dropdown-button with DropdownSelectBoxComponent (#6451) 2018-10-05 09:48:17 -04:00
authentication-complete.js.no-module.es6 Extract discourse_javascript.html.erb to a scrip include 2018-10-09 16:50:45 +11:00
auto-redirect.js.no-module.es6 CSP - extract all other inline JavaScripts (#6528) 2018-10-25 09:52:01 -04:00
deprecated.js REFACTOR: Remove requirejs calls 2017-07-05 17:24:27 -04:00
discourse-loader.js DEV: enable no-alert & no-console eslint rules 2018-11-14 23:17:56 +01:00
discourse-objects.js Scaffold for new Wizard - Rails / Ember / Tests 2016-09-22 09:48:58 -04:00
discourse.js.es6 FEATURE: Upload Site Settings. (#6573) 2018-11-14 15:03:02 +08:00
embed-application.js.no-module.es6 Extract inline JS on embedded comments (#6645) 2018-11-22 10:02:58 -05:00
ember_include.js.erb move template compiler into vendor for now 2015-11-25 15:54:54 +11:00
ember_jquery.js Use the same jQuery in prod and dev, avoid minimizing twice 2017-03-22 15:48:37 -04:00
ember-shim.js Migrate discourse.js to ES6 2016-07-11 12:57:05 -04:00
env.js Reapply Ember 2.10 for good this time! 2016-12-19 11:19:10 -05:00
google-tag-manager.js.no-module.es6 DEV: transpile certain ES6 files without producing a module (#6460) 2018-10-09 09:18:23 +08:00
google-universal-analytics.js.no-module.es6 DEV: transpile certain ES6 files without producing a module (#6460) 2018-10-09 09:18:23 +08:00
main_include_admin.js FEATURE: handle bounced emails 2016-05-02 23:15:32 +02:00
markdown-it-bundle.js UX: Improve editor and preview scroll syncing. 2017-11-23 17:02:02 +08:00
omniauth-complete.js.no-module.es6 FIX: stricter window.opener checks (#6578) 2018-11-13 09:56:31 +11:00
onpopstate-handler.js.no-module.es6 extract inline onpopstate handler on 404 page (#6613) 2018-11-15 13:35:38 -05:00
plugin-third-party.js.erb FEATURE: split JavaScript application bundle, so plugins live in own file 2016-11-15 11:43:13 +11:00
plugin.js.erb FEATURE: split JavaScript application bundle, so plugins live in own file 2016-11-15 11:43:13 +11:00
polyfills.js DEV: polyfill Object.values and use where needed 2018-11-28 10:07:05 +11:00
preload-application-data.js.no-module.es6 Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
preload-store.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
pretty-text-bundle.js FEATURE: image uploads now have short urls 2017-08-22 16:40:08 -04:00
print-page.js CSP - extract all other inline JavaScripts (#6528) 2018-10-25 09:52:01 -04:00
service-worker.js.erb FEATURE: special offline support restricted to Android only 2018-10-29 16:29:19 +11:00
template_include.js.erb PERF: stop loading handlebars and ember compilers in prod 2015-11-27 11:59:01 +11:00
vendor.js FEATURE: polyfill intersection observer for IE11 / iOS Safari 2018-12-12 15:36:08 +11:00
wizard-application.js FIX: Wizard didn't load translations correctly 2018-09-05 15:14:09 +02:00
wizard-start.js.no-module.es6 CSP - extract all other inline JavaScripts (#6528) 2018-10-25 09:52:01 -04:00
wizard-vendor.js FEATURE: replaces tag-chooser/tag-group-chooser with select-kit component 2018-02-26 11:42:57 +01:00