Sha256: 2a144bcaceaad0c0c301b7858c0efd96e15b43875157ce59965648cf2072b3b3

Contents?: true

Size: 1.49 KB

Versions: 1

Compression:

Stored size: 1.49 KB

Contents

// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// compiled file.
//
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
// about supported directives.
//
//= require jquery2
//= require jquery_ujs
//= require angular/angular
//= require angular-animate/angular-animate
//= require angular-aria/angular-aria
//= require angular-material/angular-material
//= require angular-messages/angular-messages
//= require angular-ui-router/release/angular-ui-router
//= require Chart.js/Chart
//= require angular-chart.js/angular-chart
//= require angular-country-picker/country-picker
//= require environment
//= require voxality
//= require_self
//= require_tree .

Stripe.setPublishableKey(window.stripePublishableKey)

window.Voxality = {
  currentUser: {
    id: 0,
    email: ""
  },

  API: {
    temporaryToken: "",
    developmentToken: "",

    getToken: function() {
      var devToken = window.Voxality.API.developmentToken;
      var tempToken = window.Voxality.API.temporaryToken;
      if (devToken != "") {
        return devToken;
      } else {
        return tempToken;
      }
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
voxality_core-0.1.0.1 lib/generators/voxality_core/templates/app/assets/javascripts/application.js