mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:30:26 -06:00
56115977c0
By default, the Sprockets DirectiveProcessor introduces a newline between possible 'header' comments and the rest of the JS file. This causes sourcemaps to be offset by 1 line, and therefore breaks browser tooling. We know that Ember-Cli assets do not use Sprockets directives, so we can totally bypass the DirectiveProcessor for those files. We're using v3 of Sprockets, which is no longer supported - upstreaming a fix will be difficult. Long term, we intend to move away from sprockets. |
||
---|---|---|
.. | ||
active_record_attribute_methods.rb | ||
ams_include_without_root.rb | ||
better_handlebars_errors.rb | ||
copy_file.rb | ||
cose_rsapkcs1.rb | ||
fast_pluck.rb | ||
inflector_backport.rb | ||
ip_addr.rb | ||
mail_disable_starttls.rb | ||
pluck_first.rb | ||
rails4.rb | ||
rails_multisite.rb | ||
safe_buffer.rb | ||
safe_migrations.rb | ||
schema_migration_details.rb | ||
sprockets_patches.rb | ||
translate_accelerator.rb | ||
web_push_request.rb |