1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-22 01:02:23 -05:00

fix scope issue

This commit is contained in:
Henrik Joreteg 2013-10-16 10:49:49 -07:00
parent 3a08118d68
commit 62dfb024a8
2 changed files with 3 additions and 2 deletions

View File

@ -170,11 +170,12 @@ module.exports = HumanModel.define({
app.storage.profiles.set(data);
},
cameraOn: function () {
var self = this;
getUserMedia(function (err, stream) {
if (err) {
console.error(err);
} else {
this.stream = stream;
self.stream = stream;
}
});
},

View File

@ -1,5 +1,5 @@
CACHE MANIFEST
# 0.0.1 1381945480857
# 0.0.1 1381945701401
CACHE:
/app.js