mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-22 09:12:19 -05:00
fix scope issue
This commit is contained in:
parent
3a08118d68
commit
62dfb024a8
@ -170,11 +170,12 @@ module.exports = HumanModel.define({
|
|||||||
app.storage.profiles.set(data);
|
app.storage.profiles.set(data);
|
||||||
},
|
},
|
||||||
cameraOn: function () {
|
cameraOn: function () {
|
||||||
|
var self = this;
|
||||||
getUserMedia(function (err, stream) {
|
getUserMedia(function (err, stream) {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
} else {
|
} else {
|
||||||
this.stream = stream;
|
self.stream = stream;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
CACHE MANIFEST
|
CACHE MANIFEST
|
||||||
# 0.0.1 1381945480857
|
# 0.0.1 1381945701401
|
||||||
|
|
||||||
CACHE:
|
CACHE:
|
||||||
/app.js
|
/app.js
|
||||||
|
Loading…
Reference in New Issue
Block a user