Sha256: 70690fd56b44e4f99f4f13e72b79b71224d04c348cc2b0fbd053f5bfd890001a

Contents?: true

Size: 946 Bytes

Versions: 3

Compression:

Stored size: 946 Bytes

Contents

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

// User Permissions
window.PERMISSIONS = [];
// 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 = 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.modules_path %>";
window.Faalis = {};

window.STATIC_REQUIREMENTS = ["gettext", "Modules", "ui.select2", 'Errors',
                              "ngAnimate", "ui.router", "restangular", "ngQuickDate",
                              "Errors", "Profile", "Permissions", 'ng'];

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
faalis-1.0.0.alpha4 app/assets/javascripts/faalis/dashboard/variables.js.erb
faalis-1.0.0.alpha3 app/assets/javascripts/faalis/dashboard/variables.js.erb
faalis-1.0.0.alpha2 app/assets/javascripts/faalis/dashboard/variables.js.erb