Some clean-ups for the Javascript client codegen

This commit is contained in:
xhh
2015-12-15 19:38:04 +08:00
parent 89f269969d
commit 3f3e444ab1
7 changed files with 14 additions and 113 deletions

View File

@@ -1,7 +1,3 @@
/*
* @javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavascriptClientCodegen", date = "2015-12-09T16:07:21.000+07:00")
*/
//export module
if ( typeof define === "function" && define.amd ) {
define(['jquery'], function($) {

View File

@@ -1,7 +1,3 @@
/*
* @javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavascriptClientCodegen", date = "2015-12-09T16:07:21.000+07:00")
*/
//export module
if ( typeof define === "function" && define.amd ) {
define(['jquery'], function($) {

View File

@@ -1,7 +1,3 @@
/*
* @javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavascriptClientCodegen", date = "2015-12-09T16:07:21.000+07:00")
*/
//export module
if ( typeof define === "function" && define.amd ) {
define(['jquery'], function($) {

View File

@@ -66,7 +66,7 @@ var Pet = function Pet(photoUrls, name) {
/**
* datatype: Array
**/
self.tags = new Array();
self.tags = [];
/**
* pet status in the store