Skip to content

Commit 3c7d6c2

Browse files
add files compiled
1 parent 72e4c73 commit 3c7d6c2

17 files changed

Lines changed: 245 additions & 190 deletions

File tree

dist/web/pubnub.js

Lines changed: 44 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,11 @@ return /******/ (function(modules) { // webpackBootstrap
6969

7070
var _networking2 = _interopRequireDefault(_networking);
7171

72-
var _webNode = __webpack_require__(41);
72+
var _web = __webpack_require__(41);
73+
74+
var _web2 = _interopRequireDefault(_web);
75+
76+
var _webNode = __webpack_require__(42);
7377

7478
var _flow_interfaces = __webpack_require__(8);
7579

@@ -81,23 +85,6 @@ return /******/ (function(modules) { // webpackBootstrap
8185

8286
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
8387

84-
var db = {
85-
get: function get(key) {
86-
try {
87-
return localStorage.getItem(key);
88-
} catch (e) {
89-
return null;
90-
}
91-
},
92-
set: function set(key, data) {
93-
try {
94-
return localStorage.setItem(key, data);
95-
} catch (e) {
96-
return null;
97-
}
98-
}
99-
};
100-
10188
function sendBeacon(url) {
10289
if (navigator && navigator.sendBeacon) {
10390
navigator.sendBeacon(url);
@@ -112,7 +99,7 @@ return /******/ (function(modules) { // webpackBootstrap
11299
function _class(setup) {
113100
_classCallCheck(this, _class);
114101

115-
setup.db = db;
102+
setup.db = _web2.default;
116103
setup.sdkFamily = 'Web';
117104
setup.networking = new _networking2.default({ get: _webNode.get, post: _webNode.post, sendBeacon: sendBeacon });
118105

@@ -4385,6 +4372,33 @@ return /******/ (function(modules) { // webpackBootstrap
43854372

43864373
/***/ },
43874374
/* 41 */
4375+
/***/ function(module, exports) {
4376+
4377+
"use strict";
4378+
4379+
Object.defineProperty(exports, "__esModule", {
4380+
value: true
4381+
});
4382+
exports.default = {
4383+
get: function get(key) {
4384+
try {
4385+
return localStorage.getItem(key);
4386+
} catch (e) {
4387+
return null;
4388+
}
4389+
},
4390+
set: function set(key, data) {
4391+
try {
4392+
return localStorage.setItem(key, data);
4393+
} catch (e) {
4394+
return null;
4395+
}
4396+
}
4397+
};
4398+
module.exports = exports["default"];
4399+
4400+
/***/ },
4401+
/* 42 */
43884402
/***/ function(module, exports, __webpack_require__) {
43894403

43904404
'use strict';
@@ -4395,7 +4409,7 @@ return /******/ (function(modules) { // webpackBootstrap
43954409
exports.get = get;
43964410
exports.post = post;
43974411

4398-
var _superagent = __webpack_require__(42);
4412+
var _superagent = __webpack_require__(43);
43994413

44004414
var _superagent2 = _interopRequireDefault(_superagent);
44014415

@@ -4474,7 +4488,7 @@ return /******/ (function(modules) { // webpackBootstrap
44744488
}
44754489

44764490
/***/ },
4477-
/* 42 */
4491+
/* 43 */
44784492
/***/ function(module, exports, __webpack_require__) {
44794493

44804494
/**
@@ -4491,9 +4505,9 @@ return /******/ (function(modules) { // webpackBootstrap
44914505
root = this;
44924506
}
44934507

4494-
var Emitter = __webpack_require__(43);
4495-
var requestBase = __webpack_require__(44);
4496-
var isObject = __webpack_require__(45);
4508+
var Emitter = __webpack_require__(44);
4509+
var requestBase = __webpack_require__(45);
4510+
var isObject = __webpack_require__(46);
44974511

44984512
/**
44994513
* Noop.
@@ -4505,7 +4519,7 @@ return /******/ (function(modules) { // webpackBootstrap
45054519
* Expose `request`.
45064520
*/
45074521

4508-
var request = module.exports = __webpack_require__(46).bind(null, Request);
4522+
var request = module.exports = __webpack_require__(47).bind(null, Request);
45094523

45104524
/**
45114525
* Determine XHR.
@@ -5456,7 +5470,7 @@ return /******/ (function(modules) { // webpackBootstrap
54565470

54575471

54585472
/***/ },
5459-
/* 43 */
5473+
/* 44 */
54605474
/***/ function(module, exports, __webpack_require__) {
54615475

54625476

@@ -5625,13 +5639,13 @@ return /******/ (function(modules) { // webpackBootstrap
56255639

56265640

56275641
/***/ },
5628-
/* 44 */
5642+
/* 45 */
56295643
/***/ function(module, exports, __webpack_require__) {
56305644

56315645
/**
56325646
* Module of mixed-in functions shared between node and client code
56335647
*/
5634-
var isObject = __webpack_require__(45);
5648+
var isObject = __webpack_require__(46);
56355649

56365650
/**
56375651
* Clear previous timeout.
@@ -6003,7 +6017,7 @@ return /******/ (function(modules) { // webpackBootstrap
60036017

60046018

60056019
/***/ },
6006-
/* 45 */
6020+
/* 46 */
60076021
/***/ function(module, exports) {
60086022

60096023
/**
@@ -6022,7 +6036,7 @@ return /******/ (function(modules) { // webpackBootstrap
60226036

60236037

60246038
/***/ },
6025-
/* 46 */
6039+
/* 47 */
60266040
/***/ function(module, exports) {
60276041

60286042
// The node and browser modules expose versions of this with the

dist/web/pubnub.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/db/common.js

Lines changed: 35 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/db/common.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/db/web.js

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/db/web.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/networking/modules/titanium.js

Lines changed: 78 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)