Friday, February 24, 2017

function mmns20170224f1351(request) {}

function mmns20170224f1351(request) {

if (request === "show owned lines") {show('owned lines')}
if (request === "show owned spades") {show('owned spades')}
if (request === "show owned shoulders") {show('owned shoulders')}
if (request === "show not owned lines") {show('owned lines')}
if (request === "show not owned spades") {show('owned spades')}
if (request === "show not owned shoulders") {show('owned shoulders')}
if (request === "show the charts") {showthecharts()}
if (request === "show next record") {shownextrecord()}
if (request === "show previous record") "showpreviousrecord()}

I think I'm seeing room for development in here.

if (request.split(" ")[0] === "show") {
show(request.split(" ").slice(1).join(" "))}

}

No comments:

Post a Comment