templates/interface/js/ngapimock.controller.js
function addVariable() {
            variableService.addOrUpdate(vm.variable, function () {
                vm.variables[vm.variable.key] = vm.variable.value;
                vm.variable = {
                    key: undefined,
                    value: undefined
                };
            });
        }
function addVariable() {
            variableService.addOrUpdate(vm.variable, function () {
                vm.variables[vm.variable.key] = vm.variable.value;
                vm.variable = {
                    key: undefined,
                    value: undefined
                };
            });
        }
function addVariable ( ) { variableService . addOrUpdate ( vm . variable , function ( ) { vm . variables [ vm . variable . key ] = vm . variable . value ; vm . variable = { key : undefined , value : undefined } ; } ) ; }
Adds the given variable.
Adds the given variable .