Sha256: 3a1a9cbcc04c4929472bf8aa8ce1a8df61820e8f372943fd7777761a29459c6a

Contents?: true

Size: 441 Bytes

Versions: 5

Compression:

Stored size: 441 Bytes

Contents

<%= javascript_tag nonce: true do %>
  var rootPath = '<%= Avo.configuration.root_path %>';
  var timezone = '<%= Avo.configuration.timezone %>';
  var locale = '<%= Avo.configuration.locale %>';
  var defaultViewType = '<%= Avo.configuration.default_view_type %>';
  var license = <%= Avo::App.license.properties.to_json.html_safe %>;
  var avoResources = <%= Avo::App.get_available_resources(_current_user).as_json.html_safe %>;
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
avo-0.4.10 app/views/layouts/avo/_javascript.html.erb
avo-0.4.9 app/views/layouts/avo/_javascript.html.erb
avo-0.4.8 app/views/layouts/avo/_javascript.html.erb
avo-0.4.7 app/views/layouts/avo/_javascript.html.erb
avo-0.4.6 app/views/layouts/avo/_javascript.html.erb