mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-22 01:02:23 -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);
|
||||
},
|
||||
cameraOn: function () {
|
||||
var self = this;
|
||||
getUserMedia(function (err, stream) {
|
||||
if (err) {
|
||||
console.error(err);
|
||||
} else {
|
||||
this.stream = stream;
|
||||
self.stream = stream;
|
||||
}
|
||||
});
|
||||
},
|
||||
|
@ -1,5 +1,5 @@
|
||||
CACHE MANIFEST
|
||||
# 0.0.1 1381945480857
|
||||
# 0.0.1 1381945701401
|
||||
|
||||
CACHE:
|
||||
/app.js
|
||||
|
Loading…
Reference in New Issue
Block a user