mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 23:44:48 +08:00
Convert all CoffeeScript to Javascript. See:
http://meta.discourse.org/t/is-it-better-for-discourse-to-use-javascript-or-coffeescript/3153
This commit is contained in:
18
app/assets/javascripts/env.js
Normal file
18
app/assets/javascripts/env.js
Normal file
@ -0,0 +1,18 @@
|
||||
|
||||
/* These will help us migrate up to the new ember's default behavior
|
||||
*/
|
||||
|
||||
|
||||
(function() {
|
||||
|
||||
window.ENV = {
|
||||
CP_DEFAULT_CACHEABLE: true,
|
||||
VIEW_PRESERVES_CONTEXT: true,
|
||||
MANDATORY_SETTER: false
|
||||
};
|
||||
|
||||
window.Discourse = {};
|
||||
|
||||
window.Discourse.SiteSettings = {};
|
||||
|
||||
}).call(this);
|
Reference in New Issue
Block a user