MCPcopy
hub / github.com/mrdoob/texgen.js / generateOperationSelect

Function generateOperationSelect

editor/main.js:200–214  ·  view source on GitHub ↗
(id, operation)

Source from the content-addressed store, hash-verified

198}
199
200function generateOperationSelect(id, operation) {
201
202 var html = '<select onchange="changeOperation(this, '+id+')">';
203 for (var i = 0; i < operations.length; i++ ) {
204 if ( operation == operations[ i ] )
205 html+= '<option selected="selected" value="' + operations[ i ]+ '">' + operations[ i ] + '</option>';
206 else
207 html+= '<option value="' + operations[ i ]+ '">' + operations[ i ] + '</option>';
208 }
209
210 html+='</select>';
211 return html;
212
213
214}
215
216
217TGUI.Texture = function() {

Callers 1

main.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected