Bug 1299208: update kinto.js to v4.0.3, r?MattN draft
authorEthan Glasser-Camp <eglassercamp@mozilla.com>
Tue, 30 Aug 2016 12:19:19 -0400
changeset 407527 572c87c7925abd1fc81a3b84ca6edff16593ca94
parent 407496 b18c8bcdc116eef8799880b7c50317bf54218474
child 529898 7639909d52b83f7928c5058f5a162f2800822392
push id27990
push usereglassercamp@mozilla.com
push dateTue, 30 Aug 2016 16:19:58 +0000
reviewersMattN
bugs1299208
milestone51.0a1
Bug 1299208: update kinto.js to v4.0.3, r?MattN MozReview-Commit-ID: HlLbIpRri19
services/common/kinto-offline-client.js
--- a/services/common/kinto-offline-client.js
+++ b/services/common/kinto-offline-client.js
@@ -15,17 +15,17 @@
 
 /*
  * This file is generated from kinto.js - do not modify directly.
  */
 
 this.EXPORTED_SYMBOLS = ["loadKinto"];
 
 /*
- * Version 4.0.2 - ef8a96f
+ * Version 4.0.3 - 8100433
  */
 
 (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.loadKinto = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
 "use strict";
 
 Object.defineProperty(exports, "__esModule", {
   value: true
 });
@@ -2639,17 +2639,17 @@ function pFinally(promise, fn) {
  */
 function deepEqual(a, b) {
   if (a === b) {
     return true;
   }
   if (typeof a !== typeof b) {
     return false;
   }
-  if (!(a instanceof Object) || !(b instanceof Object)) {
+  if (!(a && typeof a == "object") || !(b && typeof b == "object")) {
     return false;
   }
   if (Object.keys(a).length !== Object.keys(b).length) {
     return false;
   }
   for (let k in a) {
     if (!deepEqual(a[k], b[k])) {
       return false;