MCPcopy
hub / github.com/thomaspark/flexboxfroggy / getDefaultPropVal

Function getDefaultPropVal

js/game.js:353–360  ·  view source on GitHub ↗
(pValue)

Source from the content-addressed store, hash-verified

351 }).appendTo($('#instructions'));
352
353 var getDefaultPropVal = (pValue) => {
354 if (pValue == '<integer>')
355 return '0';
356 else if (pValue == '<flex-direction>')
357 return 'row nowrap';
358
359 return pValue;
360 };
361
362 $('#instructions .tooltip code').on('click', function(event) {
363 var pName = text;

Callers 1

game.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected