← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1329506] [NEW] Global variables created on horizon.js

 

Public bug reported:

I see three global variables are defined on horizon.js shown below. It
may cause naming conflict later on.

-------------------------------
//horizon/static/horizon/js/angular/horizon.js
var horizon_dependencies = ['hz.conf', 'hz.utils', 'ngCookies'];
dependencies = horizon_dependencies.concat(angularModuleExtension);
var horizonApp = angular.module('hz', dependencies)
  .config(['$interpolateProvider', '$httpProvider',
    function ($interpolateProvider, $httpProvider) {
...

** Affects: horizon
     Importance: Undecided
     Assignee: Ying Zuo (yinzuo)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Ying Zuo (yinzuo)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1329506

Title:
  Global variables created on horizon.js

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  I see three global variables are defined on horizon.js shown below. It
  may cause naming conflict later on.

  -------------------------------
  //horizon/static/horizon/js/angular/horizon.js
  var horizon_dependencies = ['hz.conf', 'hz.utils', 'ngCookies'];
  dependencies = horizon_dependencies.concat(angularModuleExtension);
  var horizonApp = angular.module('hz', dependencies)
    .config(['$interpolateProvider', '$httpProvider',
      function ($interpolateProvider, $httpProvider) {
  ...

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1329506/+subscriptions


Follow ups

References