projects
/
tricorder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9adf799
)
fix syntax for foundFlashCamera function
author
Robert Kaiser
<kairo@kairo.at>
Sun, 8 Feb 2015 22:06:21 +0000
(23:06 +0100)
committer
Robert Kaiser
<kairo@kairo.at>
Sun, 8 Feb 2015 22:06:21 +0000
(23:06 +0100)
js/tricorder.js
patch
|
blob
|
blame
|
history
diff --git
a/js/tricorder.js
b/js/tricorder.js
index 92885dae4b231310554f4ee36c8795553ba6ac6c..11ec7062bb0e2d4174aef8cf3562089ac3f9d1be 100644
(file)
--- a/
js/tricorder.js
+++ b/
js/tricorder.js
@@
-340,7
+340,7
@@
var gModEnv = {
document.getElementById("envFlashAvail").style.display = "none";
}
},
- foundFlashCamera(aCamera) {
+ foundFlashCamera
: function
(aCamera) {
this.flashCamera = aCamera;
document.getElementById("envFlashOn").onclick = function() { console.log("on"); gModEnv.switchFlashlight(true); };
document.getElementById("envFlashOff").onclick = function() { console.log("off"); gModEnv.switchFlashlight(false); };