Skip to content

Instantly share code, notes, and snippets.

@wei-lee
Created September 23, 2011 16:45
Show Gist options
  • Select an option

  • Save wei-lee/1237837 to your computer and use it in GitHub Desktop.

Select an option

Save wei-lee/1237837 to your computer and use it in GitHub Desktop.
$fh.push register device on the cloud side
var token = $params.token;
var platform = $params.platform;
$fh.push({'act':'register', 'type':'dev', 'params':{'id':token, 'platform':platform}});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment