Revert "Fix formulas in project export (#2047)" (#2049)

This reverts commit 36ae7d05f9.
This commit is contained in:
aignatov-bio 2019-09-12 10:45:43 +02:00 committed by GitHub
parent 36ae7d05f9
commit c4e8e8ed07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,12 +15,15 @@
<% ['handsontable.full.min.js', 'lodash.js', 'numeral.js', 'numeric.js',
'md5.js', 'jstat.js', 'formula.js', 'parser.js', 'ruleJS.js',
'handsontable.formula.js', 'big.min.js' ].each do |js_asset| %>
<%= javascript_tag Rails.application
<script type="text/javascript">
<%= j Rails.application
.assets_manifest
.find_sources(js_asset)
.first
.to_s
.force_encoding(Encoding::UTF_8)
.html_safe %>
</script>
<% end %>
<!-- Init Handsontables -->