Skip to content

Commit 56c7995

Browse files
author
Neo Technology Build Agent
committed
JS driver v1.1.0-M03: Checking in transpiled files for bower
1 parent c770436 commit 56c7995

31 files changed

+36125
-21158
lines changed

lib/browser/neo4j-web.js

+19,558-12,654
Large diffs are not rendered by default.

lib/browser/neo4j-web.min.js

+18-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/browser/neo4j-web.test.js

+14,560-7,339
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/external/es6-promise.js

+19-16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
'use strict';
2+
3+
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
4+
15
/*!
26
* @overview es6-promise - a tiny implementation of Promises/A+.
37
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
@@ -6,25 +10,24 @@
610
* @version 3.0.2
711
*/
812

9-
'use strict';
10-
1113
(function () {
1214
"use strict";
15+
1316
function lib$es6$promise$utils$$objectOrFunction(x) {
14-
return typeof x === 'function' || typeof x === 'object' && x !== null;
17+
return typeof x === 'function' || (typeof x === 'undefined' ? 'undefined' : _typeof(x)) === 'object' && x !== null;
1518
}
1619

1720
function lib$es6$promise$utils$$isFunction(x) {
1821
return typeof x === 'function';
1922
}
2023

2124
function lib$es6$promise$utils$$isMaybeThenable(x) {
22-
return typeof x === 'object' && x !== null;
25+
return (typeof x === 'undefined' ? 'undefined' : _typeof(x)) === 'object' && x !== null;
2326
}
2427

2528
var lib$es6$promise$utils$$_isArray;
2629
if (!Array.isArray) {
27-
lib$es6$promise$utils$$_isArray = function (x) {
30+
lib$es6$promise$utils$$_isArray = function lib$es6$promise$utils$$_isArray(x) {
2831
return Object.prototype.toString.call(x) === '[object Array]';
2932
};
3033
} else {
@@ -33,7 +36,7 @@
3336

3437
var lib$es6$promise$utils$$isArray = lib$es6$promise$utils$$_isArray;
3538
var lib$es6$promise$asap$$len = 0;
36-
var lib$es6$promise$asap$$toString = ({}).toString;
39+
var lib$es6$promise$asap$$toString = {}.toString;
3740
var lib$es6$promise$asap$$vertxNext;
3841
var lib$es6$promise$asap$$customSchedulerFn;
3942

@@ -64,7 +67,7 @@
6467
var lib$es6$promise$asap$$browserWindow = typeof window !== 'undefined' ? window : undefined;
6568
var lib$es6$promise$asap$$browserGlobal = lib$es6$promise$asap$$browserWindow || {};
6669
var lib$es6$promise$asap$$BrowserMutationObserver = lib$es6$promise$asap$$browserGlobal.MutationObserver || lib$es6$promise$asap$$browserGlobal.WebKitMutationObserver;
67-
var lib$es6$promise$asap$$isNode = typeof process !== 'undefined' && ({}).toString.call(process) === '[object process]';
70+
var lib$es6$promise$asap$$isNode = typeof process !== 'undefined' && {}.toString.call(process) === '[object process]';
6871

6972
// test for web worker but not in IE10
7073
var lib$es6$promise$asap$$isWorker = typeof Uint8ClampedArray !== 'undefined' && typeof importScripts !== 'undefined' && typeof MessageChannel !== 'undefined';
@@ -372,14 +375,14 @@
372375
if (promise._state !== lib$es6$promise$$internal$$PENDING) {
373376
// noop
374377
} else if (hasCallback && succeeded) {
375-
lib$es6$promise$$internal$$resolve(promise, value);
376-
} else if (failed) {
377-
lib$es6$promise$$internal$$reject(promise, error);
378-
} else if (settled === lib$es6$promise$$internal$$FULFILLED) {
379-
lib$es6$promise$$internal$$fulfill(promise, value);
380-
} else if (settled === lib$es6$promise$$internal$$REJECTED) {
381-
lib$es6$promise$$internal$$reject(promise, value);
382-
}
378+
lib$es6$promise$$internal$$resolve(promise, value);
379+
} else if (failed) {
380+
lib$es6$promise$$internal$$reject(promise, error);
381+
} else if (settled === lib$es6$promise$$internal$$FULFILLED) {
382+
lib$es6$promise$$internal$$fulfill(promise, value);
383+
} else if (settled === lib$es6$promise$$internal$$REJECTED) {
384+
lib$es6$promise$$internal$$reject(promise, value);
385+
}
383386
}
384387

385388
function lib$es6$promise$$internal$$initializePromise(promise, resolver) {
@@ -528,7 +531,7 @@
528531
/*jshint validthis:true */
529532
var Constructor = this;
530533

531-
if (object && typeof object === 'object' && object.constructor === Constructor) {
534+
if (object && (typeof object === 'undefined' ? 'undefined' : _typeof(object)) === 'object' && object.constructor === Constructor) {
532535
return object;
533536
}
534537

lib/index.js

+25-27
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,33 @@
1-
/**
2-
* Copyright (c) 2002-2016 "Neo Technology,"
3-
* Network Engine for Objects in Lund AB [http://neotechnology.com]
4-
*
5-
* This file is part of Neo4j.
6-
*
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
10-
*
11-
* http://www.apache.org/licenses/LICENSE-2.0
12-
*
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
18-
*/
19-
201
'use strict';
212

22-
Object.defineProperty(exports, '__esModule', {
3+
Object.defineProperty(exports, "__esModule", {
234
value: true
245
});
6+
exports.v1 = undefined;
7+
8+
var _index = require('./v1/index');
259

26-
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj['default'] = obj; return newObj; } }
10+
var v1 = _interopRequireWildcard(_index);
2711

28-
var _v1Index = require('./v1/index');
12+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
2913

30-
var v1 = _interopRequireWildcard(_v1Index);
14+
exports.v1 = v1; /**
15+
* Copyright (c) 2002-2016 "Neo Technology,"
16+
* Network Engine for Objects in Lund AB [http://neotechnology.com]
17+
*
18+
* This file is part of Neo4j.
19+
*
20+
* Licensed under the Apache License, Version 2.0 (the "License");
21+
* you may not use this file except in compliance with the License.
22+
* You may obtain a copy of the License at
23+
*
24+
* http://www.apache.org/licenses/LICENSE-2.0
25+
*
26+
* Unless required by applicable law or agreed to in writing, software
27+
* distributed under the License is distributed on an "AS IS" BASIS,
28+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29+
* See the License for the specific language governing permissions and
30+
* limitations under the License.
31+
*/
3132

32-
exports['default'] = {
33-
v1: v1
34-
};
35-
module.exports = exports['default'];
33+
exports.default = v1;

0 commit comments

Comments
 (0)