Sha256: 20ff7e70e964ff19c229189337fe17b8aac4db1325cb1be64216b89ddd76b582

Contents?: true

Size: 615 Bytes

Versions: 3

Compression:

Stored size: 615 Bytes

Contents

//<% environment.context_class.instance_eval { include ActionView::Helpers::UrlHelper } %>
//<% url = RedBase::Engine.routes.url_helpers %>

// Prefix url of API
window.API_PREFIX = "/api/v1/";
// Modules is an array of dashboard modules
window.DModules = [];

// This variable will contains all the modules name which should be loaded
// as Dashboard application dependency
window.dashboard_dependencies = [];
// Template prefix
window.templates_path = "/templates/";

// Any element of this queue will be appear as error after load event
window.ErrorQueue = [];
window.DashboardURL = "<%= url.dashboard_path %>";

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
red_base-0.6.0 app/assets/javascripts/red_base/dashboard/variables.js.erb
red_base-0.5.1 app/assets/javascripts/red_base/dashboard/variables.js.erb
red_base-0.5.0 app/assets/javascripts/red_base/dashboard/variables.js.erb