File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 7
7
body { font-family : Helvetica, Arial, sans-serif; font-size : 9pt ; }
8
8
.padding { padding : 12px ; }
9
9
# header { background : # eee ; font-size : 1.2em ; }
10
- .selectorControl * { height : 200px ; }
10
+ .selectorControl select , . selectorControl textarea { height : 200px ; }
11
11
# operationSelector { border : 1px solid # ccc ; }
12
12
# operationSelector h3 { padding : 0 ; margin-top : 0 ; }
13
13
# serviceSelector { width : 20% ; }
@@ -203,9 +203,8 @@ <h3>Response Details</h3>
203
203
function loadServices ( ) {
204
204
$ ( '#serviceSelector' ) . empty ( ) ;
205
205
for ( var key in AWS ) {
206
- if ( ! AWS [ key ] . prototype ) continue ;
207
- if ( AWS [ key ] . prototype . constructor . __super__ . name === 'Service' ) {
208
- var svcVarName = key . toLowerCase ( ) ;
206
+ if ( AWS [ key ] . serviceIdentifier ) {
207
+ var svcVarName = AWS [ key ] . serviceIdentifier ;
209
208
try {
210
209
var svc = services [ svcVarName ] = window [ svcVarName ] = new AWS [ key ] ( ) ;
211
210
var fullName = svc . api . abbreviation || svc . api . fullName ;
You can’t perform that action at this time.
0 commit comments