SHARE
TWEET

Untitled

a guest Jul 17th, 2017 37 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. isGetWebInfoKey.on Events.StateSwitchStop,(from,to)->
  2.     if to=="get"
  3.         result=JSON.parse(stringAuthResponse)
  4.         for item in result["data"]
  5.             catchplay =new CatchPlayInfo
  6.             catchplay.Title=item["title"]
  7.             catchplay.FeatureImage=item["assets"]["keyVisualUrl"]
  8.             catchplay.TypeLabel=item["typeLabel"]
  9.             CatchPlayInfos.push catchplay
  10.         loadDataOK.states.switch("get")
RAW Paste Data
Top