added motion detection

This commit is contained in:
Martin Donnelly 2018-11-04 13:28:17 +00:00
parent 796541ae69
commit bb5228e597
2 changed files with 3 additions and 2 deletions

View File

@ -11,7 +11,7 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
const CACHE_VERSION = { 'version': '0.0.972' };
const CACHE_VERSION = { 'version': '0.0.973' };
const PRECACHE = `jubileeData-${CACHE_VERSION.version}`;
const RUNTIME = 'runtime';

View File

@ -59,7 +59,8 @@ const LocationModel = Backbone.Model.extend({
const now = new Date();
console.log(now);
};
console.log(this);
}.bind(this);
const updatelocationthrottled = _.throttle(updateLocation, 10000);