Rob Cresswell c6677c229a JSCS Cleanup - tech-debt and auth
JSCS cleanup for files in:
- horizon/static/auth
- horizon/static/framework/util/tech-debt/
- openstack_dashboard/static/dashboard/tech-debt/

NOTE: These files were previously in horizon/static/dashboard-app,
but were moved between patches, causing the seemingly random selection
of cleanups

Change-Id: I63c3c641bf42152d8ff99702078d06df22812555
Partially-Implements: blueprint jscs-cleanup
2015-06-11 09:12:13 +01:00

13 lines
360 B
JavaScript

(function () {
'use strict';
angular
.module('hz.dashboard.tech-debt')
.controller('hzNamespaceResourceTypeFormController', function($scope, $window) {
$scope.resource_types = $window.resource_types;
$scope.saveResourceTypes = function () {
$scope.resource_types = JSON.stringify($scope.resource_types);
};
});
}());