Mark VanLandingham
11f50eee3b
DEV: Remove pretty_text import hack & still work server-side ( #8266 )
...
* FIX: move attachment_css_class constant out of upload-short-url for discourse-markdown-it
* Use setTimeout instead of ember later
* WIP. Not sure if this worked.
* oneboxer cache in separate file
* Reset onebox cache still
* set functions for oneboxers cache
2019-10-31 11:54:46 -05:00
Mark VanLandingham
02a886ce13
DEV: Import Ember.on
from @ember/object/evented ( #8268 )
...
* DEV: Import `Ember.on` from @ember/object/evented
* Dont import "on" outsie of the js or admin app
* Fixed error when resolving merge conflicts
2019-10-30 17:05:27 -05:00
Mark VanLandingham
2ae21e9c35
DEV: Import every instance of Ember.computed function ( #8267 )
...
* DEV: Import every instance of Ember.computed function
* export default for Ember.computed
2019-10-30 15:28:29 -05:00
Mark VanLandingham
ba4b557114
DEV: Remove Ember.Mixin to import @ember/object/mixin ( #8269 )
2019-10-30 15:03:08 -04:00
Robin Ward
8d34f4bbd9
Revert "Revert Ember.run refactors"
...
This reverts commit fcb1ca52f9
.
2019-10-30 09:48:24 -04:00
Robin Ward
fcb1ca52f9
Revert Ember.run refactors
...
This reverts commit 5ca60fcb6b
.
2019-10-29 17:10:47 -04:00
Robin Ward
cfa5d123a3
Temporary fix: Don't use ember imports in pretty text
2019-10-29 16:45:05 -04:00
Robin Ward
249dff85c7
FIX: Use modules for Ember.run.debounce
hack in testing
2019-10-29 16:25:37 -04:00
Robin Ward
5ca60fcb6b
REFACTOR: Use imports for Ember.run
2019-10-29 15:31:56 -04:00
Mark VanLandingham
c7475ee03b
DEV: Import EmberObject rather than global variable ( #8256 )
...
* DEV: Import ember/object rather than Ember.Object globally
* fixed broken object proxy import
* prettier on js
* added @ember/object/proxy to loader
* added unstaged file
* Fixed objet proxy reference is loader
* Linting!
2019-10-29 14:23:50 -05:00
Robin Ward
230541c975
REFACTOR: Use Ember modules for @ember/service
2019-10-29 13:29:08 -04:00
Robin Ward
a99c705c21
REFACTOR: Replace Ember.controller.inject
with import
...
Puts it more in line with updated ember code
2019-10-29 13:17:38 -04:00
Robin Ward
9347108f02
Support for importing jQuery
...
Also remove Ember.Qunit error about Ember.$ for now
2019-10-23 13:25:25 -04:00
Robin Ward
e18af18fec
Support and examples for Ember.Object
and Ember.Controller
imports
...
We should stop using global variables and instead import these as
needed.
2019-10-23 12:55:11 -04:00
Robin Ward
283a0add80
Support for importing @ember/component
and @ember/routing/route
( #8214 )
...
This will allow us to take the first step in updating our modules
to be consistent with example Ember code and to align with Ember CLI.
2019-10-22 09:47:27 -04:00
Robin Ward
3085b923f6
Removed MOVED_MODULES
which is 3 years old
2019-10-21 11:59:13 -04:00
Robin Ward
9dcdbcfd5b
Run prettier on the loader
2019-10-21 11:56:15 -04:00
Régis Hanol
0f5aeab003
DEV: enable no-alert & no-console eslint rules
2018-11-14 23:17:56 +01:00
Robin Ward
754c1e5438
Upgrade to Babel 6
2017-07-05 15:25:23 -04:00
Robin Ward
daabdd2ccf
FIX: Topic status icons weren't being displayed
2016-11-21 16:18:41 -05:00
Robin Ward
edd49bc953
FIX: ESLint
2016-11-15 12:10:18 -05:00
Robin Ward
0f9e45f283
Allow the loader to understand when files are moved
2016-11-15 11:41:16 -05:00