Skip to content

Commit 235168e

Browse files
author
Travis CI
committed
Travis CI - [ci skip] - automatic dist folder
1 parent 5af7baf commit 235168e

File tree

3 files changed

+141
-139
lines changed

3 files changed

+141
-139
lines changed

dist/kuzzle.js

Lines changed: 138 additions & 136 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,139 @@
11
(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){
2+
// shim for using process in browser
3+
var process = module.exports = {};
4+
5+
// cached from whatever global is present so that test runners that stub it
6+
// don't break things. But we need to wrap it in a try catch in case it is
7+
// wrapped in strict mode code which doesn't define any globals. It's inside a
8+
// function because try/catches deoptimize in certain engines.
9+
10+
var cachedSetTimeout;
11+
var cachedClearTimeout;
12+
13+
(function () {
14+
try {
15+
cachedSetTimeout = setTimeout;
16+
} catch (e) {
17+
cachedSetTimeout = function () {
18+
throw new Error('setTimeout is not defined');
19+
}
20+
}
21+
try {
22+
cachedClearTimeout = clearTimeout;
23+
} catch (e) {
24+
cachedClearTimeout = function () {
25+
throw new Error('clearTimeout is not defined');
26+
}
27+
}
28+
} ())
29+
function runTimeout(fun) {
30+
if (cachedSetTimeout === setTimeout) {
31+
return setTimeout(fun, 0);
32+
} else {
33+
return cachedSetTimeout.call(null, fun, 0);
34+
}
35+
}
36+
function runClearTimeout(marker) {
37+
if (cachedClearTimeout === clearTimeout) {
38+
clearTimeout(marker);
39+
} else {
40+
cachedClearTimeout.call(null, marker);
41+
}
42+
}
43+
var queue = [];
44+
var draining = false;
45+
var currentQueue;
46+
var queueIndex = -1;
47+
48+
function cleanUpNextTick() {
49+
if (!draining || !currentQueue) {
50+
return;
51+
}
52+
draining = false;
53+
if (currentQueue.length) {
54+
queue = currentQueue.concat(queue);
55+
} else {
56+
queueIndex = -1;
57+
}
58+
if (queue.length) {
59+
drainQueue();
60+
}
61+
}
62+
63+
function drainQueue() {
64+
if (draining) {
65+
return;
66+
}
67+
var timeout = runTimeout(cleanUpNextTick);
68+
draining = true;
69+
70+
var len = queue.length;
71+
while(len) {
72+
currentQueue = queue;
73+
queue = [];
74+
while (++queueIndex < len) {
75+
if (currentQueue) {
76+
currentQueue[queueIndex].run();
77+
}
78+
}
79+
queueIndex = -1;
80+
len = queue.length;
81+
}
82+
currentQueue = null;
83+
draining = false;
84+
runClearTimeout(timeout);
85+
}
86+
87+
process.nextTick = function (fun) {
88+
var args = new Array(arguments.length - 1);
89+
if (arguments.length > 1) {
90+
for (var i = 1; i < arguments.length; i++) {
91+
args[i - 1] = arguments[i];
92+
}
93+
}
94+
queue.push(new Item(fun, args));
95+
if (queue.length === 1 && !draining) {
96+
runTimeout(drainQueue);
97+
}
98+
};
99+
100+
// v8 likes predictible objects
101+
function Item(fun, array) {
102+
this.fun = fun;
103+
this.array = array;
104+
}
105+
Item.prototype.run = function () {
106+
this.fun.apply(null, this.array);
107+
};
108+
process.title = 'browser';
109+
process.browser = true;
110+
process.env = {};
111+
process.argv = [];
112+
process.version = ''; // empty string to avoid regexp issues
113+
process.versions = {};
114+
115+
function noop() {}
116+
117+
process.on = noop;
118+
process.addListener = noop;
119+
process.once = noop;
120+
process.off = noop;
121+
process.removeListener = noop;
122+
process.removeAllListeners = noop;
123+
process.emit = noop;
124+
125+
process.binding = function (name) {
126+
throw new Error('process.binding is not supported');
127+
};
128+
129+
process.cwd = function () { return '/' };
130+
process.chdir = function (dir) {
131+
throw new Error('process.chdir is not supported');
132+
};
133+
process.umask = function() { return 0; };
134+
135+
},{}],2:[function(require,module,exports){
136+
(function (Buffer){
2137
// uuid.js
3138
//
4139
// Copyright (c) 2010-2012 Robert Kieffer
@@ -272,140 +407,7 @@
272407
}
273408
})('undefined' !== typeof window ? window : null);
274409

275-
},{}],2:[function(require,module,exports){
276-
// shim for using process in browser
277-
var process = module.exports = {};
278-
279-
// cached from whatever global is present so that test runners that stub it
280-
// don't break things. But we need to wrap it in a try catch in case it is
281-
// wrapped in strict mode code which doesn't define any globals. It's inside a
282-
// function because try/catches deoptimize in certain engines.
283-
284-
var cachedSetTimeout;
285-
var cachedClearTimeout;
286-
287-
(function () {
288-
try {
289-
cachedSetTimeout = setTimeout;
290-
} catch (e) {
291-
cachedSetTimeout = function () {
292-
throw new Error('setTimeout is not defined');
293-
}
294-
}
295-
try {
296-
cachedClearTimeout = clearTimeout;
297-
} catch (e) {
298-
cachedClearTimeout = function () {
299-
throw new Error('clearTimeout is not defined');
300-
}
301-
}
302-
} ())
303-
function runTimeout(fun) {
304-
if (cachedSetTimeout === setTimeout) {
305-
return setTimeout(fun, 0);
306-
} else {
307-
return cachedSetTimeout.call(null, fun, 0);
308-
}
309-
}
310-
function runClearTimeout(marker) {
311-
if (cachedClearTimeout === clearTimeout) {
312-
clearTimeout(marker);
313-
} else {
314-
cachedClearTimeout.call(null, marker);
315-
}
316-
}
317-
var queue = [];
318-
var draining = false;
319-
var currentQueue;
320-
var queueIndex = -1;
321-
322-
function cleanUpNextTick() {
323-
if (!draining || !currentQueue) {
324-
return;
325-
}
326-
draining = false;
327-
if (currentQueue.length) {
328-
queue = currentQueue.concat(queue);
329-
} else {
330-
queueIndex = -1;
331-
}
332-
if (queue.length) {
333-
drainQueue();
334-
}
335-
}
336-
337-
function drainQueue() {
338-
if (draining) {
339-
return;
340-
}
341-
var timeout = runTimeout(cleanUpNextTick);
342-
draining = true;
343-
344-
var len = queue.length;
345-
while(len) {
346-
currentQueue = queue;
347-
queue = [];
348-
while (++queueIndex < len) {
349-
if (currentQueue) {
350-
currentQueue[queueIndex].run();
351-
}
352-
}
353-
queueIndex = -1;
354-
len = queue.length;
355-
}
356-
currentQueue = null;
357-
draining = false;
358-
runClearTimeout(timeout);
359-
}
360-
361-
process.nextTick = function (fun) {
362-
var args = new Array(arguments.length - 1);
363-
if (arguments.length > 1) {
364-
for (var i = 1; i < arguments.length; i++) {
365-
args[i - 1] = arguments[i];
366-
}
367-
}
368-
queue.push(new Item(fun, args));
369-
if (queue.length === 1 && !draining) {
370-
runTimeout(drainQueue);
371-
}
372-
};
373-
374-
// v8 likes predictible objects
375-
function Item(fun, array) {
376-
this.fun = fun;
377-
this.array = array;
378-
}
379-
Item.prototype.run = function () {
380-
this.fun.apply(null, this.array);
381-
};
382-
process.title = 'browser';
383-
process.browser = true;
384-
process.env = {};
385-
process.argv = [];
386-
process.version = ''; // empty string to avoid regexp issues
387-
process.versions = {};
388-
389-
function noop() {}
390-
391-
process.on = noop;
392-
process.addListener = noop;
393-
process.once = noop;
394-
process.off = noop;
395-
process.removeListener = noop;
396-
process.removeAllListeners = noop;
397-
process.emit = noop;
398-
399-
process.binding = function (name) {
400-
throw new Error('process.binding is not supported');
401-
};
402-
403-
process.cwd = function () { return '/' };
404-
process.chdir = function (dir) {
405-
throw new Error('process.chdir is not supported');
406-
};
407-
process.umask = function() { return 0; };
408-
410+
}).call(this,require("buffer").Buffer)
409411
},{}],3:[function(require,module,exports){
410412
(function (process){
411413
var
@@ -1863,7 +1865,7 @@ Kuzzle.prototype.stopQueuing = function () {
18631865

18641866

18651867
}).call(this,require('_process'))
1866-
},{"./kuzzleDataCollection":4,"./kuzzleMemoryStorage":7,"./networkWrapper":9,"./security/kuzzleSecurity":14,"./security/kuzzleUser":16,"_process":2,"node-uuid":1}],4:[function(require,module,exports){
1868+
},{"./kuzzleDataCollection":4,"./kuzzleMemoryStorage":7,"./networkWrapper":9,"./security/kuzzleSecurity":14,"./security/kuzzleUser":16,"_process":1,"node-uuid":2}],4:[function(require,module,exports){
18671869
var
18681870
KuzzleDocument = require('./kuzzleDocument'),
18691871
KuzzleDataMapping = require('./kuzzleDataMapping'),
@@ -3549,7 +3551,7 @@ function isReady() {
35493551

35503552
module.exports = KuzzleRoom;
35513553

3552-
},{"node-uuid":1}],9:[function(require,module,exports){
3554+
},{"node-uuid":2}],9:[function(require,module,exports){
35533555
/**
35543556
*
35553557
* @param host

0 commit comments

Comments
 (0)