Skip to content

Commit

Permalink
Fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
saharj committed Apr 6, 2016
1 parent 3a45148 commit 17a4a75
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/directives/tryoperation.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ SwaggerEditor.controller('TryOperation', function($scope, formdataFilter,
*
* @returns {object} - A JSON Schema object
*/
var appendJSONEditorOptions = function(schema) {
function appendJSONEditorOptions(schema) {
var looseOptions = {
/*eslint-disable */
no_additional_properties: false,
Expand Down Expand Up @@ -452,7 +452,7 @@ SwaggerEditor.controller('TryOperation', function($scope, formdataFilter,
*
* @return {function} - the filter function
*/
var parameterTypeFilter = function(type) {
function parameterTypeFilter(type) {
return function filterParams(parameter) {
return parameter.in === type;
};
Expand All @@ -467,7 +467,7 @@ SwaggerEditor.controller('TryOperation', function($scope, formdataFilter,
*
* @param {object} - complete hash from parameters to this iterations
*/
var hashifyParams = function(hash, param) {
function hashifyParams(hash, param) {
if (!hash) {
hash = {};
}
Expand Down Expand Up @@ -669,7 +669,7 @@ SwaggerEditor.controller('TryOperation', function($scope, formdataFilter,
* @returns {string|object|null} - body parameter value or null if there is
* request body
*/
var getBodyModel = function() {
function getBodyModel() {
if (!hasRequestBody()) {
return null;
}
Expand Down

0 comments on commit 17a4a75

Please sign in to comment.