diff --git a/clientapp/models/me.js b/clientapp/models/me.js index ec147ac..247a4d7 100644 --- a/clientapp/models/me.js +++ b/clientapp/models/me.js @@ -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; } }); }, diff --git a/public/x-manifest.cache b/public/x-manifest.cache index ea90a0c..5b18165 100644 --- a/public/x-manifest.cache +++ b/public/x-manifest.cache @@ -1,5 +1,5 @@ CACHE MANIFEST -# 0.0.1 1381945480857 +# 0.0.1 1381945701401 CACHE: /app.js