Skip to content

Instantly share code, notes, and snippets.

@xavortm
Created March 16, 2015 15:04
Show Gist options
  • Save xavortm/7f312a4c543791e2ab20 to your computer and use it in GitHub Desktop.
Save xavortm/7f312a4c543791e2ab20 to your computer and use it in GitHub Desktop.
/**
* [temperatureChanged description]
* @param {[type]} newValue [description]
* @return {[type]} [description]
*/
function temperatureChanged(newValue)
{
if(document.getElementById("temperature")) {
document.getElementById("temperature").innerHTML=newValue;
Qt.temperatureChanged(newValue);
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment